Skip to content

Commit b592741

Browse files
author
octeep
committed
Do not push to registry on PRs
1 parent b035e2b commit b592741

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ jobs:
6868
--label "org.opencontainers.image.created=$(date -u --rfc-3339=seconds)" \
6969
--cache-from type=gha \
7070
--cache-to type=gha,mode=max \
71-
--pull --push .
71+
--pull ${{ github.event_name == 'push' && '--push' || '' }} .

0 commit comments

Comments
 (0)