Skip to content

Commit 19b3577

Browse files
committed
Uncomment IMAGE_REGISTRY_PASSWORD in Azure GitOps
The Verify_ec step fails due to an unbound variable. IMAGE_REGISTRY_PASSWORD needs to be uncommented so it gets used in the workflow. Signed-off-by: Tomáš Nevrlka <[email protected]>
1 parent cfdf3f2 commit 19b3577

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

generated/gitops-template/azure/azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ steps:
3131
env:
3232
TRUSTIFICATION_OIDC_CLIENT_SECRET: $(TRUSTIFICATION_OIDC_CLIENT_SECRET)
3333
# Set this password for your specific registry
34-
# IMAGE_REGISTRY_PASSWORD: $(IMAGE_REGISTRY_PASSWORD)
34+
IMAGE_REGISTRY_PASSWORD: $(IMAGE_REGISTRY_PASSWORD)
3535
# QUAY_IO_CREDS_PSW: $(QUAY_IO_CREDS_PSW)
3636
# ARTIFACTORY_IO_CREDS_PSW: $(ARTIFACTORY_IO_CREDS_PSW)
3737
# NEXUS_IO_CREDS_PSW: $(NEXUS_IO_CREDS_PSW)
@@ -46,7 +46,7 @@ steps:
4646
env:
4747
TRUSTIFICATION_OIDC_CLIENT_SECRET: $(TRUSTIFICATION_OIDC_CLIENT_SECRET)
4848
# Set this password for your specific registry
49-
# IMAGE_REGISTRY_PASSWORD: $(IMAGE_REGISTRY_PASSWORD)
49+
IMAGE_REGISTRY_PASSWORD: $(IMAGE_REGISTRY_PASSWORD)
5050
# QUAY_IO_CREDS_PSW: $(QUAY_IO_CREDS_PSW)
5151
# ARTIFACTORY_IO_CREDS_PSW: $(ARTIFACTORY_IO_CREDS_PSW)
5252
# NEXUS_IO_CREDS_PSW: $(NEXUS_IO_CREDS_PSW)

templates/data.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ gitops_variables:
160160
gitops_secrets:
161161
- name: TRUSTIFICATION_OIDC_CLIENT_SECRET
162162
- name: IMAGE_REGISTRY_PASSWORD
163-
if: 'isGitHub'
163+
if: 'isGitHub || isAzure'
164164
comment: "Set this password for your specific registry"
165165
- name: IMAGE_REGISTRY_PASSWORD
166-
if: '!isGitHub'
166+
if: '!isGitHub && !isAzure'
167167
commented_out: true
168168
comment: "Set this password for your specific registry"
169169
# show all the values options in the jenkins file and other CIs

0 commit comments

Comments
 (0)