fix: only run docker publish on main repository

This commit is contained in:
Jacky Zhao 2022-11-23 08:34:19 -08:00
parent b9d9ec44af
commit f8d2495582

View File

@ -10,6 +10,7 @@ env:
jobs: jobs:
build-and-push-image: build-and-push-image:
if: github.repository == 'jackyzha0/quartz'
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read