We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f985d09 + 6b1ffe4 commit e4f70c3Copy full SHA for e4f70c3
1 file changed
.github/workflows/docker-publish.yml
@@ -14,6 +14,12 @@ env:
14
jobs:
15
build-and-push-image:
16
runs-on: ubuntu-latest
17
+
18
+ # Avoid running nightly build if dockerhub credentials are absent
19
+ # This should prevent triggering nightly builds on forks
20
+ if: |
21
+ github.event_name != 'schedule' ||
22
+ vars.DOCKERHUB_ORGNAME != ''
23
permissions:
24
contents: read
25
packages: write
0 commit comments