Created
February 2, 2019 08:44
-
-
Save 1c7/b91b03d88b53435e4b2c7c6f3a895beb to your computer and use it in GitHub Desktop.
.gitlab-ci.yml example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: gitlab/dind | |
stages: | |
- build_and_publish_image | |
b_and_p: | |
stage: build_and_publish_image | |
script: | |
- docker login -u [username] -p [password] registry.gitlab.com | |
- docker build -t registry.gitlab.com/1c7/ccb . | |
- docker push registry.gitlab.com/1c7/ccb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment