Commit ed87f151 authored by GRANDGERARD Gilles's avatar GRANDGERARD Gilles
Browse files

Update .gitlab-ci.yml

parent 5642ffc5
Pipeline #5377 passed with stage
in 23 seconds
......@@ -147,7 +147,7 @@ before_script:
- printf "::CommitRef=${CI_COMMIT_REF_NAME}\n";
- printf "::CommitMessage=${CI_COMMIT_MESSAGE}\n\n";
- printf "::PWD=${PWD}\n\n";
- echo "'$CI_REGISTRY_PASSWORD' '$CI_REGISTRY' '$CI_REGISTRY_USER'"
- printf "'$CI_REGISTRY_PASSWORD' '$CI_REGISTRY' '$CI_REGISTRY_USER'"
build_image:
stage: build
......@@ -155,7 +155,6 @@ build_image:
- one
script:
- echo "$CI_REGISTRY_PASSWORD" | docker login "$CI_REGISTRY" -u "$CI_REGISTRY_USER" --password-stdin
- docker build -t "$CI_PROJECT_NAME" .
- docker build --tag "${CI_REGISTRY}/${CI_PROJECT_PATH}:latest" .
- docker push "${CI_REGISTRY}/${CI_PROJECT_PATH}:latest"
- docker logout "${CI_REGISTRY}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment