Commit 8549224d authored by Cecile Cavet's avatar Cecile Cavet
Browse files

Update .gitlab-ci.yml

parent 02781c40
Pipeline #136992 failed with stages
in 44 seconds
......@@ -15,16 +15,16 @@ cache:
# - touch data/truc.txt
stages:
- step1
#- step1
- build
- deploy
step1:
stage: step1
script:
#step1:
# stage: step1
# script:
#- touch data/truc2.txt
#- ls data
- pwd
# - pwd
#step2:
# stage: step2
......@@ -92,5 +92,9 @@ build:
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker build --pull -t ${IMAGE_BUILD_TAG} -f Dockerfile --build-arg IMAGE_VERSION=${IMAGE_BUILD_TAG} .
- docker push ${IMAGE_BUILD_TAG}
- docker build --pull -t $IMAGE_BUILD_TAG .
- docker push $IMAGE_BUILD_TAG
#script:
# - docker build --pull -t ${IMAGE_BUILD_TAG} --build-arg IMAGE_VERSION=${IMAGE_BUILD_TAG} .
# - docker push ${IMAGE_BUILD_TAG}
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