diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b4ec268..bf102d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,5 +7,6 @@ build: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] script: + - env - echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"${CI_DOCKERHUB_AUTH}\"}}}" > /kaniko/.docker/config.json - /kaniko/executor --build-arg TAG=${TAG} --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination=${ACCOUNT}/${CI_PROJECT_NAME}:${CI_PIPELINE_IID} --destination=${ACCOUNT}/${CI_PROJECT_NAME}:${TAG}