fix: remove armv7

pull/102/head
John Wang 3 years ago
parent c3f8a33199
commit 47c312ddba

@ -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}"

@ -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}"
Loading…
Cancel
Save