fix: pr no push

pull/283/head
zijiren233 1 month ago
parent 0b55b409b7
commit 3294ff7cee

@ -227,7 +227,7 @@ jobs:
build-args: VERSION=${{ needs.release-web.outputs.tag_name }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/${{ matrix.arch }}
outputs: type=image,"name=${{ env.DOCKERHUB_REPO }},${{ env.GHCR_REPO }}",push-by-digest=true,name-canonical=true,push=true
outputs: type=image,"name=${{ env.DOCKERHUB_REPO }},${{ env.GHCR_REPO }}",name-canonical=true,push-by-digest=${{ github.event_name != 'pull_request' }},push=${{ github.event_name != 'pull_request' }}
- name: Export digest
run: |
@ -247,6 +247,7 @@ jobs:
name: Push Docker Images
needs: build-docker
runs-on: ubuntu-24.04
if: ${{ github.event_name != 'pull_request' }}
steps:
- name: Login to GitHub Container Registry
if: ${{ github.event_name != 'pull_request' }}

Loading…
Cancel
Save