diff options
author | Max Wittig <max.wittig@siemens.com> | 2019-11-22 15:02:00 +0100 |
---|---|---|
committer | Roger Meier <r.meier@siemens.com> | 2019-11-22 15:02:00 +0100 |
commit | e0066b6b7c5ce037635f6a803ea26707d5684ef5 (patch) | |
tree | 5a21b798d0f313b6842329400a1b42a6cb8b38d4 /.gitlab-ci.yml | |
parent | ecad2c83635c5e5f7003f61502391446ebc631c9 (diff) | |
download | gitlab-e0066b6b7c5ce037635f6a803ea26707d5684ef5.tar.gz |
chore(ci): switch to crane docker image (#944)
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b91d88f..7faf8d6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,9 +32,10 @@ deploy_image: deploy-latest: stage: deploy-latest - image: golang:1.12.4-stretch + image: + name: gcr.io/go-containerregistry/crane:debug + entrypoint: [""] script: - - go get github.com/google/go-containerregistry/cmd/crane - mkdir /root/.docker && echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /root/.docker/config.json - crane cp $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG $CI_REGISTRY_IMAGE:latest only: |