Created
November 19, 2018 13:43
-
-
Save kalloc/cd3903412b2929985dc31bede2f47ba6 to your computer and use it in GitHub Desktop.
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: docker:dind | |
| stages: | |
| - build | |
| build: | |
| stage: build | |
| before_script: | |
| - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY | |
| - apk add git go | |
| script: | |
| - git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.narod.ru".insteadOf "ssh://[email protected]" | |
| - git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.narod.ru".insteadOf "https://gitlab.narod.ru" | |
| - git clone -v https://gitlab.narod.ru/some/project/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment