mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Fix .gitlab-ci.yml
This commit is contained in:
parent
61d3722862
commit
086d779cf5
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue