Skip to content

Commit 7d87d3b

Browse files
committed
Upgrade OCI build task in CI pipeline
This commit upgrades the OCI build task Concourse resource to 0.11.1 and configures the Docker credentials for this task.
1 parent beafa43 commit 7d87d3b

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

ci/tasks/build-ci-image.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,26 @@ image_resource:
44
type: registry-image
55
source:
66
repository: concourse/oci-build-task
7-
tag: 0.10.0
8-
registry_mirror:
9-
host: ((registry-mirror-host))
10-
username: ((registry-mirror-username))
11-
password: ((registry-mirror-password))
7+
tag: 0.11.1
8+
username: ((docker-hub-username))
9+
password: ((docker-hub-password))
1210
inputs:
13-
- name: ci-images-git-repo
11+
- name: ci-images-git-repo
1412
outputs:
15-
- name: image
13+
- name: image
1614
caches:
17-
- path: ci-image-cache
15+
- path: ci-image-cache
1816
params:
1917
CONTEXT: ci-images-git-repo/ci/images
2018
DOCKERFILE: ci-images-git-repo/ci/images/((ci-image-name))/Dockerfile
2119
DOCKER_HUB_AUTH: ((docker-hub-auth))
2220
run:
2321
path: /bin/sh
2422
args:
25-
- "-c"
26-
- |
27-
mkdir -p /root/.docker
28-
cat > /root/.docker/config.json <<EOF
29-
{ "auths": { "https://index.docker.io/v1/": { "auth": "$DOCKER_HUB_AUTH" }}}
30-
EOF
31-
build
23+
- "-c"
24+
- |
25+
mkdir -p /root/.docker
26+
cat > /root/.docker/config.json <<EOF
27+
{ "auths": { "https://index.docker.io/v1/": { "auth": "$DOCKER_HUB_AUTH" }}}
28+
EOF
29+
build

0 commit comments

Comments
 (0)