diff --git a/.gitea/workflows/build-push.yml b/.gitea/workflows/build-push.yml new file mode 100644 index 000000000..19631348d --- /dev/null +++ b/.gitea/workflows/build-push.yml @@ -0,0 +1,24 @@ +on: + push: + +jobs: + Building: + runs-on: slave + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + registry: git.baalajimaestro.me + username: ${{ gitea.repository_owner }} + password: ${{ secrets.DOCKER_PASSWORD }} + + - name: Run Build + run: make build-image + env: + TRAEFIK_IMAGE: git.baalajimaestro.me/baalajimaestro/traefik:latest + + - name: Push Image + run: docker push git.baalajimaestro.me/baalajimaestro/traefik:latest