Skip to content

Commit

Permalink
chore: use dockerhub auth in gitlab-ci
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Hill <[email protected]>
  • Loading branch information
gregdhill committed Jul 15, 2021
1 parent 7623926 commit dfb0b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ image: "registry.gitlab.com/interlay/containers/rust-base:nightly-2021-03-15"
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"$DOCKER_HUB_TOKEN\"}}}" > /kaniko/.docker/config.json
- |
/kaniko/executor \
--build-arg BINARY=${ARTIFACT_BIN_PATH} \
Expand Down

0 comments on commit dfb0b0f

Please sign in to comment.