Fakultas Ilmu Komputer UI

Commit abad114b authored by Daya Adianto's avatar Daya Adianto 🐈
Browse files

Fix GitLab CI/CD configuration

parent 8dbc1f2f
Pipeline #20327 passed with stages
in 30 minutes and 24 seconds
......@@ -104,7 +104,7 @@ Publish Container Image:
- echo "TODO Run this job only at 'master' branch"
script:
- docker build
--build-arg=NPM_PROXY="https://proxy.cs.ui.ac.id:8080"
--build-arg=NPM_PROXY=$NPM_PROXY
--build-arg=IMAGE_CREATED="$(date --utc -Iseconds)"
--build-arg=IMAGE_REVISION="$(git show --pretty=oneline | tac | tail -n 1 | awk '{print $1}')"
--tag $IMAGE_NAMESPACE/kape:latest .
......
......@@ -3,8 +3,7 @@ FROM node:4 AS frontend-builder
WORKDIR /home/kape/app
COPY . .
ARG NPM_PROXY=""
RUN echo ${NPM_PROXY} \
&& npm config set proxy ${NPM_PROXY} \
RUN npm config set proxy ${NPM_PROXY} \
&& npm install \
&& npm run build-production
......
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