mirror of
https://git.suyu.dev/suyu/ci-docker.git
synced 2026-01-04 05:35:03 +01: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…
Add table
Add a link
Reference in a new issue