diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index cec35c3..f827dd8 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -13,3 +13,11 @@ jobs: - name: Build image run: ./build.sh + - name: Push docker image + if: github.ref == 'refs/heads/main' + uses: docker/login-action@v3 + with: + registry: docker.sdal.tech + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_PASSWORD }} + run: ./build.sh push