diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index d172a0b2..ca1d1cbb 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -3,10 +3,10 @@ name: Docker Build on: workflow_dispatch: schedule: - - cron: "0 10 * * *" # Run every day at 10:00 UTC for `nightly` tag + - cron: "0 10 * * *" push: tags: - - "v*.*.*" # Run on version tags only + - "v*.*.*" jobs: docker: @@ -56,7 +56,7 @@ jobs: uses: docker/login-action@v3 with: registry: ghcr.io - username: ${{ github.repository_owner }} + username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and Push Docker Image