fix(ui): debug icon build
This commit is contained in:
parent
017c7b2c92
commit
1fbff97660
2 changed files with 3 additions and 1 deletions
2
.github/workflows/frontend.yaml
vendored
2
.github/workflows/frontend.yaml
vendored
|
|
@ -47,7 +47,7 @@ jobs:
|
|||
set -x
|
||||
cd frontend
|
||||
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"
|
||||
docker run --rm -v /etc/passwd:/etc/passwd -u `id -u`:`id -g` -v $(pwd):/home/${USER} -w /home/${USER} --name node_build node:16-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} .
|
||||
docker tag $DOCKER_REPO/frontend:${IMAGE_TAG} $DOCKER_REPO/frontend:${IMAGE_TAG}-ee
|
||||
|
|
|
|||
|
|
@ -51,6 +51,8 @@ const plugins = (removeFill = true) => {
|
|||
const iconPaths = [];
|
||||
const dirs = getDirectories(ICONS_DIRNAME);
|
||||
|
||||
console.log(ICONS_DIRNAME, UI_DIRNAME, icons, dirs)
|
||||
|
||||
fs.mkdirSync(`${UI_DIRNAME}/Icons`, { recursive: true });
|
||||
dirs.forEach((dir) => {
|
||||
fs.mkdirSync(`${UI_DIRNAME}/Icons/${dir.replaceAll('-', '_')}`, { recursive: true });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue