Do not push to registry on PRs

This commit is contained in:
octeep
2022-08-23 19:40:09 +08:00
parent b035e2b7dd
commit b592741872

View File

@@ -68,4 +68,4 @@ jobs:
--label "org.opencontainers.image.created=$(date -u --rfc-3339=seconds)" \
--cache-from type=gha \
--cache-to type=gha,mode=max \
--pull --push .
--pull ${{ github.event_name == 'push' && '--push' || '' }} .