You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 22, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on May 22, 2023. It is now read-only.
Le 2 févr. 2017 à 22:33, Gábor Gyebnár ***@***.***> 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.
Activity
aedm commentedon Feb 2, 2017
Hey! Sorry for the late answer.
Here's an example
.gitlab-ci.yml: https://gitlab.com/aedm/got7-death-pool/blob/master/.gitlab-ci.ymlBasically, the relevant part:
This builds the Docker image and pushes it to GitLab's registry.
AVapps commentedon Feb 2, 2017