Skip to content

Commit a24857a

Browse files
author
iwakitakuma
committed
FIX
issue: #
1 parent a04e3d6 commit a24857a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/image_push.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ IMAGE_VERSION=$(git describe --tags --abbrev=0 --match "v[0-9]*.[0-9]*.[0-9]*" m
1414
git checkout "${IMAGE_VERSION}"
1515
IMAGE_VERSION=${IMAGE_VERSION#v}
1616
echo "${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_VERSION}"
17+
npm install && npm run build
1718
docker buildx build --platform linux/arm64,linux/amd64 \
1819
-t "${DOCKER_USER}/${IMAGE_NAME}:latest" \
1920
-t "${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_VERSION}" \

scripts/npm_push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ IMAGE_VERSION=$(git describe --tags --abbrev=0 --match "v[0-9]*.[0-9]*.[0-9]*" m
66

77
git checkout "${IMAGE_VERSION}"
88
echo "${IMAGE_VERSION}"
9-
npm run build && npm run deploy
9+
npm install && npm run build && npm run deploy

0 commit comments

Comments
 (0)