Skip to content

Commit 9d45f82

Browse files
committed
Disable running aarch64 builds in forks
1 parent ae77864 commit 9d45f82

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/docker.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ concurrency:
7171
jobs:
7272
aarch64-foundation:
7373
uses: ./.github/workflows/docker-build-test-upload.yml
74+
if: github.repository == 'jupyter/docker-stacks'
7475
with:
7576
parentImage: ""
7677
image: docker-stacks-foundation
@@ -88,6 +89,7 @@ jobs:
8889
aarch64-base:
8990
needs: [aarch64-foundation]
9091
uses: ./.github/workflows/docker-build-test-upload.yml
92+
if: github.repository == 'jupyter/docker-stacks'
9193
with:
9294
parentImage: docker-stacks-foundation
9395
image: base-notebook
@@ -106,6 +108,7 @@ jobs:
106108
aarch64-minimal:
107109
needs: [aarch64-base]
108110
uses: ./.github/workflows/docker-build-test-upload.yml
111+
if: github.repository == 'jupyter/docker-stacks'
109112
with:
110113
parentImage: base-notebook
111114
image: minimal-notebook
@@ -124,6 +127,7 @@ jobs:
124127
aarch64-scipy:
125128
needs: [aarch64-minimal]
126129
uses: ./.github/workflows/docker-build-test-upload.yml
130+
if: github.repository == 'jupyter/docker-stacks'
127131
with:
128132
parentImage: minimal-notebook
129133
image: scipy-notebook
@@ -142,6 +146,7 @@ jobs:
142146
aarch64-r:
143147
needs: [aarch64-minimal]
144148
uses: ./.github/workflows/docker-build-test-upload.yml
149+
if: github.repository == 'jupyter/docker-stacks'
145150
with:
146151
parentImage: minimal-notebook
147152
image: r-notebook
@@ -169,6 +174,7 @@ jobs:
169174
aarch64-datascience:
170175
needs: [aarch64-scipy]
171176
uses: ./.github/workflows/docker-build-test-upload.yml
177+
if: github.repository == 'jupyter/docker-stacks'
172178
with:
173179
parentImage: scipy-notebook
174180
image: datascience-notebook
@@ -187,6 +193,7 @@ jobs:
187193
aarch64-pyspark:
188194
needs: [aarch64-scipy]
189195
uses: ./.github/workflows/docker-build-test-upload.yml
196+
if: github.repository == 'jupyter/docker-stacks'
190197
with:
191198
parentImage: scipy-notebook
192199
image: pyspark-notebook
@@ -205,6 +212,7 @@ jobs:
205212
aarch64-all-spark:
206213
needs: [aarch64-pyspark]
207214
uses: ./.github/workflows/docker-build-test-upload.yml
215+
if: github.repository == 'jupyter/docker-stacks'
208216
with:
209217
parentImage: pyspark-notebook
210218
image: all-spark-notebook
@@ -221,6 +229,7 @@ jobs:
221229
runsOn: ubuntu-latest
222230

223231
aarch64-images-tag-push:
232+
if: github.repository == 'jupyter/docker-stacks'
224233
secrets:
225234
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
226235
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -310,9 +319,11 @@ jobs:
310319
uses: ./.github/workflows/docker-merge-tags.yml
311320
with:
312321
image: ${{ matrix.image }}
322+
if: github.repository == 'jupyter/docker-stacks'
313323

314324
wiki-update:
315325
permissions:
316326
contents: write
317327
needs: [aarch64-images-tag-push, x86_64-images-tag-push]
318328
uses: ./.github/workflows/docker-wiki-update.yml
329+
if: github.repository == 'jupyter/docker-stacks'

0 commit comments

Comments
 (0)