Open AVapps opened 7 years ago
Hey! Sorry for the late answer.
Here's an example .gitlab-ci.yml
: https://gitlab.com/aedm/got7-death-pool/blob/master/.gitlab-ci.yml
Basically, the relevant part:
build_docker_image:
image: gitlab/dind:latest
stage: build
script:
- docker info
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
- curl https://aedm.github.io/minimeteor/build.sh | sh -s registry.gitlab.com/aedm/got7-death-pool:$CI_BUILD_REF registry.gitlab.com/aedm/got7-death-pool:latest
- docker push registry.gitlab.com/aedm/got7-death-pool:$CI_BUILD_REF
- docker push registry.gitlab.com/aedm/got7-death-pool:latest
only:
- release
This builds the Docker image and pushes it to GitLab's registry.
Thanks !
Le 2 févr. 2017 à 22:33, Gábor Gyebnár notifications@github.com a écrit :
Hey! Sorry for the late answer. Here's an example .gitlab-ci.yml: https://gitlab.com/aedm/got7-death-pool/blob/master/.gitlab-ci.yml
Basically, the relevant part:
build_docker_image: image: gitlab/dind:latest stage: build script:
- docker info
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
- curl https://aedm.github.io/minimeteor/build.sh | sh -s registry.gitlab.com/aedm/got7-death-pool:$CI_BUILD_REF registry.gitlab.com/aedm/got7-death-pool:latest
- docker push registry.gitlab.com/aedm/got7-death-pool:$CI_BUILD_REF
- docker push registry.gitlab.com/aedm/got7-death-pool:latest only:
- release This builds the Docker image and pushes it to GitLab's registry.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hi, I've seen that you use Gitlab CI. Could you please provide a guide on how to use minimeteor with it? Thanks !