Commit 734b21c7 by nabil el mahiri

using npm login

parent 4be2ec6b
Pipeline #449 failed with stages
in 2 seconds
...@@ -55,13 +55,16 @@ ARG BUILD_TOKEN ...@@ -55,13 +55,16 @@ ARG BUILD_TOKEN
RUN mkdir ~/.ssh && \ RUN mkdir ~/.ssh && \
echo "$SSH_PRIVATE_KEY" >> ~/.ssh/id_rsa && \ echo "$SSH_PRIVATE_KEY" >> ~/.ssh/id_rsa && \
chmod 0600 ~/.ssh/id_rsa && \ chmod 0600 ~/.ssh/id_rsa && \
echo "Host labs.atlasvoyages.com"$'\n\t'"IdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config && \
RUN touch ~/.ssh/known_hosts ssh -T git@labs.atlasvoyages.com << EOF
RUN ssh-keyscan -t rsa labs.atlasvoyages.com >> ~/.ssh/known_hosts # echo "Host labs.atlasvoyages.com"$'\n\t'"IdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config
# RUN touch ~/.ssh/known_hosts
# RUN ssh-keyscan -t rsa labs.atlasvoyages.com >> ~/.ssh/known_hosts
RUN cat ~/.ssh/known_hosts
# RUN cat ~/.ssh/known_hosts
RUN cat ~/.ssh/id_rsa RUN cat ~/.ssh/id_rsa
......
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