ci(build): moving env sample
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
c1fa34d2ff
commit
e38ad0a7b2
1 changed files with 1 additions and 1 deletions
2
.github/workflows/frontend.yaml
vendored
2
.github/workflows/frontend.yaml
vendored
|
|
@ -47,7 +47,7 @@ jobs:
|
|||
ENVIRONMENT: staging
|
||||
run: |
|
||||
cd frontend
|
||||
cp .env.sample .env
|
||||
mv .env.sample .env
|
||||
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"
|
||||
# https://github.com/docker/cli/issues/1134#issuecomment-613516912
|
||||
DOCKER_BUILDKIT=1 docker build --target=cicd -t $DOCKER_REPO/frontend:${IMAGE_TAG} .
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue