Skip to content

Commit 340b0bf

Browse files
authored
Only run docker workflow on upstream repo (Gallopsled#2252)
Don't run it in forks which can't push to the dockerhub.
1 parent 2e5a33c commit 340b0bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
publish:
1111
runs-on: ubuntu-latest
12+
if: github.repository_owner == 'Gallopsled'
1213
steps:
1314
# Required for subdirectories in Git context
1415
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)