Commit 2fb7145c by nabil el mahiri

using npm login

parent 0b0717bf
Pipeline #457 canceled with stages
in 5 minutes 52 seconds
...@@ -71,7 +71,7 @@ RUN cat ~/.ssh/id_rsa ...@@ -71,7 +71,7 @@ RUN cat ~/.ssh/id_rsa
# RUN ssh -T git@gitlab.com # RUN ssh -T git@gitlab.com
# RUN ssh -T git@labs.atlasvoyages.com # RUN ssh -T git@labs.atlasvoyages.com
RUN sed -i 's/git+ssh:\/\/git@labs.atlasvoyages.com:/git+https:\/\/oauth2:'$BUILD_TOKEN'@glabs.atlasvoyages.com\//' ./package.json
# RUN git clone https://nabilelmahiri:arigatou%4065@labs.atlasvoyages.com/pine/theme-atlasvoyages.git -b 0.3-beta-v1 # RUN git clone https://nabilelmahiri:arigatou%4065@labs.atlasvoyages.com/pine/theme-atlasvoyages.git -b 0.3-beta-v1
WORKDIR /atlasvoyages WORKDIR /atlasvoyages
...@@ -81,7 +81,7 @@ WORKDIR /atlasvoyages ...@@ -81,7 +81,7 @@ WORKDIR /atlasvoyages
# RUN expect -f ./sh/npm_login_expect nabilelmahiri arigatou@65 "nabil.elmahiri@fractalite.com" # RUN expect -f ./sh/npm_login_expect nabilelmahiri arigatou@65 "nabil.elmahiri@fractalite.com"
COPY package*.json /atlasvoyages/ COPY package*.json /atlasvoyages/
RUN sed -i 's/git+ssh:\/\/git@labs.atlasvoyages.com:/git+https:\/\/oauth2:'$BUILD_TOKEN'@glabs.atlasvoyages.com\//' ./package.json
RUN npm install --unsafe-perm=true RUN npm install --unsafe-perm=true
COPY ./ /atlasvoyages/ COPY ./ /atlasvoyages/
......
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