only push docker image when on main branch

This commit is contained in:
Wolfgang Thaller 2023-12-16 22:29:26 +01:00
parent 323d3e3a34
commit bde2e8f74f

View File

@ -51,7 +51,7 @@ jobs:
env: env:
GHCR_TOKEN: $(GHCR_TOKEN) GHCR_TOKEN: $(GHCR_TOKEN)
displayName: 'Push release to GHCR' displayName: 'Push release to GHCR'
# condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
- job: macOS - job: macOS
pool: pool: