We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecad2c8 commit e0066b6Copy full SHA for e0066b6
.gitlab-ci.yml
@@ -32,9 +32,10 @@ deploy_image:
32
33
deploy-latest:
34
stage: deploy-latest
35
- image: golang:1.12.4-stretch
+ image:
36
+ name: gcr.io/go-containerregistry/crane:debug
37
+ entrypoint: [""]
38
script:
- - go get github.com/google/go-containerregistry/cmd/crane
39
- mkdir /root/.docker && echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /root/.docker/config.json
40
- crane cp $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG $CI_REGISTRY_IMAGE:latest
41
only:
0 commit comments