ci: add fork guards to docker, release, and auto-tag workflows (#1007)

This commit is contained in:
Will Pfleger
2026-06-12 13:53:43 -04:00
committed by GitHub
parent 43d1ce3532
commit 39d9aa8260
3 changed files with 6 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ jobs:
cache-from: |
type=registry,ref=${{ env.IMAGE_NAME }}-buildcache:${{ matrix.arch }}
cache-to: |
type=registry,ref=${{ env.IMAGE_NAME }}-buildcache:${{ matrix.arch }},mode=max,compression=zstd
${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && format('type=registry,ref={0}-buildcache:{1},mode=max,compression=zstd', env.IMAGE_NAME, matrix.arch) || '' }}
- name: Export digest
if: github.event_name != 'pull_request'