parent
6a56fdeed9
commit
935328f238
@ -0,0 +1,19 @@ |
||||
image: docker:latest |
||||
services: |
||||
- docker:dind |
||||
|
||||
stages: |
||||
- build |
||||
|
||||
variables: |
||||
IMAGE: registry.gitlab.com/$CI_PROJECT_PATH |
||||
|
||||
before_script: |
||||
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com |
||||
|
||||
build: |
||||
stage: build |
||||
script: |
||||
- docker build --pull -t $IMAGE:master centurion |
||||
- docker push $IMAGE:master |
||||
|
Loading…
Reference in new issue