Commit c15aabc6 by nabil el mahiri

using npm login

parent fcc70c1e
Pipeline #396 failed with stages
in 2 minutes 8 seconds
......@@ -62,13 +62,14 @@ ARG SSH_PRIVATE_KEY
# 2. Populate the private key file.
# 3. Set the required permissions.
# 4. Add github to our list of known hosts for ssh.
# RUN mkdir ~/.ssh && \
# echo "$SSH_PRIVATE_KEY" >> ~/.ssh/id_rsa && \
# chmod 0600 ~/.ssh/id_rsa && \
# echo "Host gitlab.com"$'\n\t'"IdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config && \
# ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts && \
# cat /root/.ssh/id_rsa && \
RUN ssh -Tv git@gitlab.com
RUN mkdir ~/.ssh && \
echo "$SSH_PRIVATE_KEY" >> ~/.ssh/id_rsa && \
chmod 0600 ~/.ssh/id_rsa && \
echo "Host labs.atlasvoyages.com"$'\n\t'"IdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config && \
ssh-keyscan -t rsa labs.atlasvoyages.com >> ~/.ssh/known_hosts && \
cat /root/.ssh/id_rsa
RUN ssh -T git@labs.atlasvoyages.com
# RUN git clone https://nabilelmahiri:arigatou%4065@labs.atlasvoyages.com/pine/theme-atlasvoyages.git -b 0.3-beta-v1
......
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