fix: remove armv7

This commit is contained in:
John Wang 2023-05-19 08:06:51 +08:00
parent c3f8a33199
commit 47c312ddba
2 changed files with 6 additions and 4 deletions

View File

@ -48,7 +48,7 @@ EOF
cd api
docker buildx build \
${API_CACHE_FROM_SCRIPT} \
--platform=linux/amd64,linux/arm64,linux/arm/v7 \
--platform=linux/amd64,linux/arm64 \
--build-arg COMMIT_SHA=${SHA} \
-t "${API_REPO_NAME}:${SHA}" \
-t "${API_REPO_NAME}:${REFSPEC}" \
@ -56,7 +56,8 @@ docker buildx build \
--label "sha=${SHA}" \
--label "built_at=$(date)" \
--label "build_actor=${GITHUB_ACTOR}" \
--push \
.
# push
docker push --all-tags "${API_REPO_NAME}"
#docker push --all-tags "${API_REPO_NAME}"

View File

@ -49,13 +49,14 @@ cd web
docker buildx build \
${WEB_CACHE_FROM_SCRIPT} \
--build-arg COMMIT_SHA=${SHA} \
--platform=linux/amd64,linux/arm64,linux/arm/v7 \
--platform=linux/amd64,linux/arm64 \
-t "${WEB_REPO_NAME}:${SHA}" \
-t "${WEB_REPO_NAME}:${REFSPEC}" \
-t "${WEB_REPO_NAME}:${LATEST_TAG}" \
--label "sha=${SHA}" \
--label "built_at=$(date)" \
--label "build_actor=${GITHUB_ACTOR}" \
--push \
.
docker push --all-tags "${WEB_REPO_NAME}"
#docker push --all-tags "${WEB_REPO_NAME}"