mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 10:32:56 +01:00
Build only GitLab images
This commit is contained in:
parent
dbe66d3ce5
commit
ff9c562670
5 changed files with 2 additions and 26 deletions
|
|
@ -7,8 +7,8 @@ variables:
|
|||
stage: build
|
||||
script:
|
||||
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" registry.gitlab.com
|
||||
- docker build -t "$REPOSITORY/$CI_BUILD_NAME" -f "Dockerfile.$CI_BUILD_NAME" .
|
||||
- docker push "$REPOSITORY/$CI_BUILD_NAME"
|
||||
- docker build -t "$REPOSITORY:$CI_BUILD_NAME" -f "Dockerfile.$CI_BUILD_NAME" .
|
||||
- docker push "$REPOSITORY:$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