devops: added a default section and a conditional check for npmrc in gitlab ci configuration.
This commit is contained in:
parent
efd09a91a1
commit
66b7b9be40
@ -8,6 +8,7 @@ stages:
|
||||
default:
|
||||
before_script:
|
||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||
- if ! test -z "$NPMRC"; then echo "$NPMRC" > /root/.npmrc; fi
|
||||
|
||||
build-and-push docker image to local registry:
|
||||
stage: build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user