Commit 377a6dce by nabil el mahiri

using npm login

parent 4982065c
Pipeline #419 failed with stages
in 13 seconds
......@@ -25,6 +25,13 @@ build:
only:
- master
script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
# Run ssh-agent (inside the build environment)
- eval $(ssh-agent -s)
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- chmod +x sh/run.sh
- docker build --build-arg SSH_PRIVATE_KEY="$SSH_PRIVATE_KEY" -f docker/Dockerfile -t atlasvoyages-docker:prod .
- sh sh/clean.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment