only push docker image when on main branch
This commit is contained in:
parent
323d3e3a34
commit
bde2e8f74f
|
@ -51,7 +51,7 @@ jobs:
|
|||
env:
|
||||
GHCR_TOKEN: $(GHCR_TOKEN)
|
||||
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
|
||||
pool:
|
||||
|
|
Loading…
Reference in New Issue