Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsgoff committed Jan 23, 2023
1 parent 3b23dc1 commit dbdc673
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ build:
stage: build
services: []
variables:
TAG: ${CI_COMMIT_REF_NAME}
TAG: ${CI_BUILD_REF_NAME}
image:
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}

0 comments on commit dbdc673

Please sign in to comment.