Skip to content
Snippets Groups Projects
Commit b039e4f9 authored by Pierre-Gilles LEVALLOIS's avatar Pierre-Gilles LEVALLOIS
Browse files

Update .gitlab-ci.yml file

parent 8a845d1c
No related branches found
No related tags found
1 merge request!1Cicd
Pipeline #43077 failed
......@@ -12,7 +12,7 @@ variables:
# Build and push anchor
.build_and_push_docker_image: &build_and_push_docker_image
# - docker build --pull --tag "$CI_REGISTRY_IMAGE/$IMAGE_NAME:latest" .
- docker build -f $DOCKER_FILE --tag "$CI_REGISTRY_IMAGE/$IMAGE_NAME:latest"
- docker build -t "$CI_REGISTRY_IMAGE/$IMAGE_NAME:latest" - < $DOCKER_FILE
- docker push "$CI_REGISTRY_IMAGE/$IMAGE_NAME:latest"
# Docker Authentification anchor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment