Commit 086d779c authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix .gitlab-ci.yml

parent 61d37228
......@@ -12,8 +12,8 @@ before_script:
.build_and_deploy: &build_and_deploy
stage: build
script:
- docker build -t "$CI_REPOSITORY_IMAGE:$CI_BUILD_NAME" -f "Dockerfile.$CI_BUILD_NAME" .
- docker push "$CI_REPOSITORY_IMAGE:$CI_BUILD_NAME"
- docker build -t "$CI_REGISTRY_IMAGE:$CI_BUILD_NAME" -f "Dockerfile.$CI_BUILD_NAME" .
- docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_NAME"
ruby-2.1: *build_and_deploy
ruby-2.2: *build_and_deploy
......
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