Merge pull request #15 from dev
Build production Docker image / build-backend-image (push) Successful in 37s
Build production Docker image / deploy-production (push) Successful in 42s

ci: disable proxy for ecr publish
This commit was merged in pull request #15.
This commit is contained in:
qzl
2026-05-21 17:05:43 +08:00
@@ -73,6 +73,8 @@ jobs:
ECR_REPOSITORY: ${{ secrets.ECR_REPOSITORY }} ECR_REPOSITORY: ${{ secrets.ECR_REPOSITORY }}
run: | run: |
set -euo pipefail set -euo pipefail
export HTTP_PROXY= HTTPS_PROXY= ALL_PROXY= http_proxy= https_proxy= all_proxy=
caller_account_id="$(aws sts get-caller-identity --query Account --output text)" caller_account_id="$(aws sts get-caller-identity --query Account --output text)"
if [ "${caller_account_id}" != "${AWS_ACCOUNT_ID}" ]; then if [ "${caller_account_id}" != "${AWS_ACCOUNT_ID}" ]; then
echo "AWS_ACCOUNT_ID does not match caller identity" >&2 echo "AWS_ACCOUNT_ID does not match caller identity" >&2