mirror of
https://github.com/labring/sealos.git
synced 2026-09-24 15:46:19 +08:00
fix(build): account-service module chart build (#6963)
fix(build): account-service module chart build (#6962) Co-authored-by: Jiahui <4543bxy@gmail.com>
This commit is contained in:
co-authored by
Jiahui
parent
85689aed2c
commit
e71b57ce9f
@@ -299,6 +299,9 @@ jobs:
|
||||
if [[ -f charts/${MODULE_NAME}/values.yaml ]]; then
|
||||
sed -i -E "s;(${OLD_DOCKER_REPO}|${GHCR_DOCKER_REPO}):[^[:space:]\"']*;${NEW_DOCKER_IMAGE};" charts/${MODULE_NAME}/values.yaml
|
||||
fi
|
||||
if [[ -f charts/${MODULE_NAME}-service/values.yaml ]]; then
|
||||
sed -i -E "s;(${OLD_DOCKER_REPO}|${GHCR_DOCKER_REPO}):[^[:space:]\"']*;${NEW_DOCKER_IMAGE};" charts/${MODULE_NAME}-service/values.yaml
|
||||
fi
|
||||
sudo rm -rf registry
|
||||
echo "Building ${TAG}-amd64"
|
||||
sudo sealos build -t "${TAG}-amd64" --platform linux/amd64 -f Kubefile
|
||||
|
||||
Reference in New Issue
Block a user