From bde2e8f74f67e558af815a51d34cdc6c1327bf9c Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Sat, 16 Dec 2023 22:29:26 +0100 Subject: [PATCH] only push docker image when on main branch --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 10af4e2ca2..834a658ba4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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: