Created
March 27, 2020 09:00
-
-
Save MagicMagnate/14559767d597c36c1f6c0c4c9be396a1 to your computer and use it in GitHub Desktop.
before_script .gitlab-ci.yml
This file contains 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
before_script: # running on shared runner | |
- export NAMESPACE="$(echo "${CI_PROJECT_NAMESPACE}" | tr A-Z a-z)" | |
- export IMAGE=$CI_REGISTRY/$NAMESPACE/$CI_PROJECT_NAME | |
- apk add --no-cache openssh-client bash | |
- docker login -u $CI_REGISTRY_USER -p $CI_JOB_TOKEN $CI_REGISTRY | |
- chmod +x ./setup_env.sh | |
- bash ./setup_env.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment