Files
docker-logger/.gitea/workflows/docker.yml
lif 20b4c7e42a
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m11s
Push image to dockerhub
2025-09-14 20:39:04 +01:00

34 lines
689 B
YAML

name: Build and Push Docker Image
on:
push:
branches: [ main ]
jobs:
build:
runs-on: [label-one]
container:
image: liffsh/dind
steps:
- uses: actions/checkout@v4
- name: Login to Registry
uses: docker/login-action@v2
with:
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: ls
run:
ls
- name: Build Docker Image
env:
BRANCH_NAME: ${{ github.ref_name }}
SHORT_HASH: ${{ github.sha }}
run: |
docker build .
- name: Push
run:
docker push liffsh/lilog:latest