mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-07 22:12:53 +00:00
ci: add image for building the app
This commit is contained in:
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
image: registry.gitlab.com/openstapps/projectmanagement/builder
|
||||
|
||||
stages:
|
||||
- setup
|
||||
|
||||
setup:
|
||||
stage: setup
|
||||
only:
|
||||
- schedules
|
||||
variables:
|
||||
DOCKER_DRIVER: overlay2
|
||||
image: registry.gitlab.com/openstapps/projectmanagement/builder
|
||||
services:
|
||||
- docker:dind
|
||||
script:
|
||||
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
|
||||
- docker build -t registry.gitlab.com/openstapps/app .
|
||||
- docker push registry.gitlab.com/openstapps/app
|
||||
tags:
|
||||
- docker
|
||||
Reference in New Issue
Block a user