ci(fix): change build

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2022-06-24 12:57:27 +02:00
parent aaf42f6157
commit 260d758592

View file

@ -47,7 +47,7 @@ jobs:
ENVIRONMENT: staging
run: |
cd frontend
docker run --rm -v /etc/passwd:/etc/passwd -u `id -u`:`id -g` -v $(pwd):/home/${USER} -w /home/${USER} --name node_build node:14-stretch-slim /bin/bash -c "npm install && npm run build:oss"
docker run --rm -v /etc/passwd:/etc/passwd -u `id -u`:`id -g` -v $(pwd):/home/${USER} -w /home/${USER} --name node_build node:14-stretch-slim /bin/bash -c "yarn && yarn build"
docker push $DOCKER_REPO/frontend:${IMAGE_TAG}
- name: Creating old image input
run: |