Browse Source

Use Docker Hub credentials for CI release tasks

pull/29928/head
Brian Clozel 2 years ago
parent
commit
8838e0d825
  1. 4
      ci/pipeline.yml
  2. 2
      ci/tasks/generate-changelog.yml
  3. 2
      ci/tasks/promote-version.yml

4
ci/pipeline.yml

@ -331,6 +331,7 @@ jobs: @@ -331,6 +331,7 @@ jobs:
params:
RELEASE_TYPE: M
<<: *github-task-params
<<: *docker-resource-source
- put: github-pre-release
params:
<<: *changelog-task-params
@ -369,6 +370,7 @@ jobs: @@ -369,6 +370,7 @@ jobs:
file: git-repo/ci/tasks/promote-version.yml
params:
RELEASE_TYPE: RC
<<: *docker-resource-source
<<: *artifactory-task-params
- task: generate-changelog
file: git-repo/ci/tasks/generate-changelog.yml
@ -413,6 +415,7 @@ jobs: @@ -413,6 +415,7 @@ jobs:
file: git-repo/ci/tasks/promote-version.yml
params:
RELEASE_TYPE: RELEASE
<<: *docker-resource-source
<<: *artifactory-task-params
<<: *sonatype-task-params
- name: create-github-release
@ -430,6 +433,7 @@ jobs: @@ -430,6 +433,7 @@ jobs:
file: git-repo/ci/tasks/generate-changelog.yml
params:
RELEASE_TYPE: RELEASE
<<: *docker-resource-source
<<: *github-task-params
- put: github-release
params:

2
ci/tasks/generate-changelog.yml

@ -5,6 +5,8 @@ image_resource: @@ -5,6 +5,8 @@ image_resource:
source:
repository: springio/github-changelog-generator
tag: '0.0.8'
username: ((docker-hub-username))
password: ((docker-hub-password))
inputs:
- name: git-repo
- name: artifactory-repo

2
ci/tasks/promote-version.yml

@ -5,6 +5,8 @@ image_resource: @@ -5,6 +5,8 @@ image_resource:
source:
repository: springio/concourse-release-scripts
tag: '0.3.4'
username: ((docker-hub-username))
password: ((docker-hub-password))
inputs:
- name: git-repo
- name: artifactory-repo

Loading…
Cancel
Save