Skip to content
Snippets Groups Projects
Commit 3f21daf5 authored by michael.simon's avatar michael.simon
Browse files

Update .gitlab-ci.yml file

parent 50b470c8
No related branches found
No related tags found
No related merge requests found
Pipeline #157592 passed
......@@ -13,6 +13,6 @@ build-job:
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$DOCKER_REGISTRY\":{\"auth\":\"$(echo -n ${DOCKER_REGISTRY_USER}:${DOCKER_REGISTRY_PASSWORD} | base64)\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR/reg-app --dockerfile $CI_PROJECT_DIR/reg-app/Dockerfile --destination $DOCKER_REGISTRY_NAME:$CI_COMMIT_TAG
- /kaniko/executor --context $CI_PROJECT_DIR/reg-app --dockerfile $CI_PROJECT_DIR/reg-app/Dockerfile --destination $DOCKER_REGISTRY_NAME:$CI_COMMIT_TAG --destination $DOCKER_REGISTRY_NAME:latest
rules:
- if: $CI_COMMIT_TAG
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment