mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 10:32:56 +01:00
initial commit
This commit is contained in:
commit
aefaed4d90
13 changed files with 120 additions and 0 deletions
22
.gitlab-ci.yml
Normal file
22
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
image: docker:latest
|
||||
|
||||
variables:
|
||||
REPOSITORY: gitlab/gitlab-build-images
|
||||
|
||||
services:
|
||||
- docker:dind
|
||||
|
||||
.build_and_deploy: &build_and_deploy
|
||||
stage: build
|
||||
script:
|
||||
- docker login -u "$DOCKER_LOGIN" -p "$DOCKER_PASSWORD"
|
||||
- docker build -t "$REPOSITORY/$CI_BUILD_NAME" -f "Dockerfile.$CI_BUILD_NAME" .
|
||||
- docker push "$REPOSITORY/$CI_BUILD_NAME"
|
||||
|
||||
omnibus-debian-jessie: *build_and_deploy
|
||||
omnibus-debian-wheezy: *build_and_deploy
|
||||
omnibus-raspbian-jessie: *build_and_deploy
|
||||
omnibus-raspbian-wheezy: *build_and_deploy
|
||||
ruby-2.1: *build_and_deploy
|
||||
ruby-2.2: *build_and_deploy
|
||||
ruby-2.3: *build_and_deploy
|
||||
Loading…
Add table
Add a link
Reference in a new issue