mirror of
https://git.suyu.dev/suyu/ci-docker
synced 2024-11-21 14:29:15 -07:00
Initial .gitlab-ci.yml file
This commit is contained in:
parent
ecdbae94c9
commit
2277842442
1 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
|||
stages:
|
||||
- build
|
||||
|
||||
build docker image:
|
||||
stage: package
|
||||
image: docker
|
||||
services:
|
||||
- docker:dind
|
||||
script:
|
||||
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
|
||||
- docker build -t $CI_REGISTRY_IMAGE .
|
||||
- docker push $CI_REGISTRY_IMAGE
|
Loading…
Reference in a new issue