Skip to content
Snippets Groups Projects
Commit 09c0a59c authored by Yannis Barlas's avatar Yannis Barlas
Browse files

Update file .gitlab-ci.yml

parent 64d92d8e
No related branches found
No related tags found
No related merge requests found
Pipeline #61144 passed with warnings with stages
in 3 minutes and 51 seconds
......@@ -19,10 +19,7 @@ build demo:
before_script:
- echo "$CI_REGISTRY_PASSWORD" | docker login "$CI_REGISTRY" -u "$CI_REGISTRY_USER" --password-stdin
script:
- docker build
--tag $IMAGE_NAME_DEMO:$CI_COMMIT_SHA
-f $BUILD_PATH/Dockerfile-production
$BUILD_PATH
- docker build --tag $IMAGE_NAME_DEMO:$CI_COMMIT_SHA -f $BUILD_PATH/Dockerfile-production $BUILD_PATH
- docker push $IMAGE_NAME_DEMO:$CI_COMMIT_SHA
only:
- master
......
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