diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index 4a6c8c7..8bf0670 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -48,6 +48,7 @@ jobs: version: latest endpoint: builders - uses: docker/login-action@v3 + if: github.event_name != 'pull_request' with: registry: ghcr.io username: ${{ github.actor }} @@ -56,6 +57,7 @@ jobs: timeout-minutes: 60 with: context: . + push: ${{ github.event_name != 'pull_request' }} platforms: ${{ env.platforms }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}