diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b91d88f1a..7faf8d618 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: