Browse Source

Upgrade to oci-build-task 0.10.0 in CI task

pull/28459/head
Brian Clozel 3 years ago
parent
commit
a6cd8a78e2
  1. 1
      ci/scripts/promote-version.sh
  2. 5
      ci/tasks/build-ci-image.yml

1
ci/scripts/promote-version.sh

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
#!/bin/bash
source $(dirname $0)/common.sh
CONFIG_DIR=git-repo/ci/config
version=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.modules[0].id' | sed 's/.*:.*:\(.*\)/\1/' )

5
ci/tasks/build-ci-image.yml

@ -4,7 +4,7 @@ image_resource: @@ -4,7 +4,7 @@ image_resource:
type: registry-image
source:
repository: concourse/oci-build-task
tag: 0.9.1
tag: 0.10.0
registry_mirror:
host: ((registry-mirror-host))
username: ((registry-mirror-username))
@ -28,4 +28,5 @@ run: @@ -28,4 +28,5 @@ run:
cat > /root/.docker/config.json <<EOF
{ "auths": { "https://index.docker.io/v1/": { "auth": "$DOCKER_HUB_AUTH" }}}
EOF
build
build

Loading…
Cancel
Save