Skip to content
Snippets Groups Projects
Commit 1d8d2954 authored by David Trattnig's avatar David Trattnig
Browse files

fix(ci): try not using latest npm

parent f7a7a517
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,6 @@ variables: ...@@ -21,7 +21,6 @@ variables:
- apt-get --quiet update - apt-get --quiet update
- apt-get --quiet --yes install nodejs npm - apt-get --quiet --yes install nodejs npm
- nodejs -v - nodejs -v
- npm i -g npm@latest
.release-rules: &release-rules .release-rules: &release-rules
# rule to run job on a tag-reference which has the form number.number.number (semantic versioning) # rule to run job on a tag-reference which has the form number.number.number (semantic versioning)
...@@ -114,7 +113,7 @@ docker-push: ...@@ -114,7 +113,7 @@ docker-push:
- | - |
if [ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ] if [ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]
then docker build -t $AURA_IMAGE_NAME:unstable . then docker build -t $AURA_IMAGE_NAME:unstable .
docker push $AURA_IMAGE_NAME:unstable docker push $AURA_IMAGE_NAME:unstable
elif expr "$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME" : ^feat > /dev/null elif expr "$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME" : ^feat > /dev/null
then docker build -t $AURA_IMAGE_NAME -t $CI_REGISTRY_IMAGE:$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME . then docker build -t $AURA_IMAGE_NAME -t $CI_REGISTRY_IMAGE:$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME .
docker push $CI_REGISTRY_IMAGE:$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME docker push $CI_REGISTRY_IMAGE:$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment