Skip to content

Commit e0066b6

Browse files
max-wittigbufferoverflow
authored andcommitted
chore(ci): switch to crane docker image (#944)
1 parent ecad2c8 commit e0066b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.gitlab-ci.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ deploy_image:
3232

3333
deploy-latest:
3434
stage: deploy-latest
35-
image: golang:1.12.4-stretch
35+
image:
36+
name: gcr.io/go-containerregistry/crane:debug
37+
entrypoint: [""]
3638
script:
37-
- go get github.com/google/go-containerregistry/cmd/crane
3839
- mkdir /root/.docker && echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /root/.docker/config.json
3940
- crane cp $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG $CI_REGISTRY_IMAGE:latest
4041
only:

0 commit comments

Comments
 (0)