fixup syntax CI

This commit is contained in:
Shaka 2018-08-09 11:21:02 +02:00
parent 57e18ef24a
commit ccd581bc3c

View file

@ -18,9 +18,10 @@ stages:
build_image_test:
<<: *build_image
stage: build
except: master
except:
- master
after_script:
- echo "test: CI_REGISTRY_IMAGE"
- "echo test: CI_REGISTRY_IMAGE"
build_image_prod:
<<: *build_image
@ -28,10 +29,12 @@ build_image_prod:
after_script:
- docker tag gitlab.rezometz.org:5678/klafyvel/klafirc:$CI_COMMIT_SHA gitlab.rezometz.org:5678/klafyvel/klafirc:latest
- docker push gitlab.rezometz.org:5678/klafyvel/klafirc:latest
only: master
only:
- master
deploy:
stage: deploy
script:
- "curl -X POST lupercus.rez -d \"$API_VARS\" -H \"Content-Type: application/json\""
dependencies: build_image_prod
dependencies:
- build_image_prod