Do not push to registry on PRs
This commit is contained in:
2
.github/workflows/container.yml
vendored
2
.github/workflows/container.yml
vendored
@@ -68,4 +68,4 @@ jobs:
|
|||||||
--label "org.opencontainers.image.created=$(date -u --rfc-3339=seconds)" \
|
--label "org.opencontainers.image.created=$(date -u --rfc-3339=seconds)" \
|
||||||
--cache-from type=gha \
|
--cache-from type=gha \
|
||||||
--cache-to type=gha,mode=max \
|
--cache-to type=gha,mode=max \
|
||||||
--pull --push .
|
--pull ${{ github.event_name == 'push' && '--push' || '' }} .
|
||||||
|
|||||||
Reference in New Issue
Block a user