Skip to content

Commit e46a09a

Browse files
committed
[CI] skip gap9 pipelines on forks (private docker image)
ghcr.io/pulp-platform/deeploy-gap9:* is hosted in pulp-platform's private GitHub Container Registry. Only upstream's self-hosted runners have credentials to pull it; on fork CI runs (ubuntu-latest) the docker pull fails with 'Error response from daemon: denied' and the whole job is reported as failure. Guard the select-env entry of all three gap9 workflows (ci-platform-gap9.yml, -tiled.yml, -w-ne16-tiled.yml) so they SKIP cleanly on forks instead of FAILING. Upstream behaviour is unchanged.
1 parent 6c8ae2b commit e46a09a

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci-platform-gap9-tiled.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ concurrency:
2525

2626
jobs:
2727
select-env:
28+
# ghcr.io/pulp-platform/deeploy-gap9 is private; only upstream's
29+
# self-hosted runners have credentials. Skip cleanly on forks.
30+
if: github.repository == 'pulp-platform/Deeploy'
2831
uses: ./.github/workflows/_select-env.yml
2932
with:
3033
docker_image_deeploy: ${{ github.event.inputs.docker_image_deeploy || 'ghcr.io/pulp-platform/deeploy-gap9:devel' }}

.github/workflows/ci-platform-gap9.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ concurrency:
2626

2727
jobs:
2828
select-env:
29+
# ghcr.io/pulp-platform/deeploy-gap9 is private; only upstream's
30+
# self-hosted runners have credentials. Skip cleanly on forks.
31+
if: github.repository == 'pulp-platform/Deeploy'
2932
uses: ./.github/workflows/_select-env.yml
3033
with:
3134
docker_image_deeploy: ${{ github.event.inputs.docker_image_deeploy || 'ghcr.io/pulp-platform/deeploy-gap9:devel' }}

0 commit comments

Comments
 (0)