Don’t run ‘publish dev image’ job in forks (#342)

My fork (and, I assume, most forks) doesn’t have the secrets defined, so this job just fails every night. So it’ll be less noisy and less wasteful of resources to disable this job for forks.
This commit is contained in:
Avi Flax 2023-01-01 12:32:25 -05:00 committed by GitHub
parent 6e34313aaf
commit 1e54a0b2be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@ on:
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
if: github.repository_owner == 'jointakahe'
runs-on: ubuntu-latest
steps:
- name: Check out the repo