Skip to content

Commit 02cd10d

Browse files
author
Rajath Agasthya
committed
Pull authenticated bosh-cli image in tasks
1 parent abdbbae commit 02cd10d

15 files changed

+32
-2
lines changed

ci/docker/write-metadata-file.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ platform: linux
44
image_resource:
55
type: docker-image
66
source:
7-
repository: ghcr.io/cloudfoundry/bosh-cli
7+
repository: ubuntu
8+
tag: jammy
89

910
inputs:
1011
- name: bosh-cli-docker-src

ci/tasks/build-checksum-file.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ image_resource:
66
source:
77
repository: ghcr.io/cloudfoundry/bosh-cli
88
tag: 'latest'
9+
username: ((github_read_write_packages.username))
10+
password: ((github_read_write_packages.password))
911

1012
inputs:
1113
- name: bosh-cli

ci/tasks/build-darwin-amd64.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ image_resource:
66
source:
77
repository: ghcr.io/cloudfoundry/bosh-cli
88
tag: 'latest'
9+
username: ((github_read_write_packages.username))
10+
password: ((github_read_write_packages.password))
911

1012
inputs:
1113
- name: bosh-cli

ci/tasks/build-darwin-arm64.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ image_resource:
66
source:
77
repository: ghcr.io/cloudfoundry/bosh-cli
88
tag: 'latest'
9+
username: ((github_read_write_packages.username))
10+
password: ((github_read_write_packages.password))
911

1012
inputs:
1113
- name: bosh-cli

ci/tasks/build-linux-amd64.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ image_resource:
66
source:
77
repository: ghcr.io/cloudfoundry/bosh-cli
88
tag: 'latest'
9+
username: ((github_read_write_packages.username))
10+
password: ((github_read_write_packages.password))
911

1012
inputs:
1113
- name: bosh-cli

ci/tasks/build-linux-arm64.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ image_resource:
66
source:
77
repository: ghcr.io/cloudfoundry/bosh-cli
88
tag: 'latest'
9+
username: ((github_read_write_packages.username))
10+
password: ((github_read_write_packages.password))
911

1012
inputs:
1113
- name: bosh-cli

ci/tasks/build-windows-amd64.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ image_resource:
66
source:
77
repository: ghcr.io/cloudfoundry/bosh-cli
88
tag: 'latest'
9+
username: ((github_read_write_packages.username))
10+
password: ((github_read_write_packages.password))
911

1012
inputs:
1113
- name: bosh-cli

ci/tasks/create-dockerfile.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
platform: linux
33
image_resource:
44
type: docker-image
5-
source: {repository: ghcr.io/cloudfoundry/bosh-cli}
5+
source:
6+
repository: ghcr.io/cloudfoundry/bosh-cli
7+
username: ((github_read_write_packages.username))
8+
password: ((github_read_write_packages.password))
69
run:
710
path: /bin/bash
811
args:

ci/tasks/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ image_resource:
66
source:
77
repository: ghcr.io/cloudfoundry/bosh-cli
88
tag: 'latest'
9+
username: ((github_read_write_packages.username))
10+
password: ((github_read_write_packages.password))
911

1012
inputs:
1113
- name: bosh-cli

ci/tasks/test-build-docs-example.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ image_resource:
66
source:
77
repository: ghcr.io/cloudfoundry/bosh-cli
88
tag: 'latest'
9+
username: ((github_read_write_packages.username))
10+
password: ((github_read_write_packages.password))
911

1012
inputs:
1113
- name: bosh-cli

0 commit comments

Comments
 (0)