Skip to content

Commit

Permalink
Pr 时只打包而不推送镜像, 避免 Pr 者无仓库写权限报错
Browse files Browse the repository at this point in the history
  • Loading branch information
WankkoRee committed Jul 3, 2024
1 parent 2fc8996 commit 19588e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/386,linux/arm64/v8,linux/arm/v7,linux/arm/v6,linux/riscv64
push: true
push: ${{ github.event_name != 'pull_request' }}
provenance: false
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}

0 comments on commit 19588e2

Please sign in to comment.