Skip to content

Commit eb41797

Browse files
committed
Make registry mirror parameters available to generate-changelog task
1 parent ba6d3b8 commit eb41797

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

ci/pipeline.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ anchors:
6969
silent: true
7070
icon_emoji: ":concourse:"
7171
username: concourse-ci
72+
registry-mirror-vars: &registry-mirror-vars
73+
registry-mirror-host: ((registry-mirror-host))
74+
registry-mirror-username: ((registry-mirror-username))
75+
registry-mirror-password: ((registry-mirror-password))
7276
resource_types:
7377
- name: artifactory-resource
7478
type: registry-image
@@ -180,9 +184,7 @@ jobs:
180184
image: ci-image
181185
vars:
182186
ci-image-name: ci-image
183-
registry-mirror-host: ((registry-mirror-host))
184-
registry-mirror-username: ((registry-mirror-username))
185-
registry-mirror-password: ((registry-mirror-password))
187+
<<: *registry-mirror-vars
186188
- put: ci-image
187189
params:
188190
image: ci-image/image.tar
@@ -428,6 +430,8 @@ jobs:
428430
RELEASE_TYPE: RELEASE
429431
GITHUB_USERNAME: ((github-username))
430432
GITHUB_TOKEN: ((github-ci-release-token))
433+
vars:
434+
<<: *registry-mirror-vars
431435
- put: github-release
432436
params:
433437
name: generated-changelog/tag

0 commit comments

Comments
 (0)