From 9d17c7d8ccb150ff6f4072bd16365d8970647d51 Mon Sep 17 00:00:00 2001 From: zl-q Date: Thu, 21 May 2026 17:05:24 +0800 Subject: [PATCH] ci: disable proxy for ecr publish --- .gitea/workflows/build-production-docker.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/build-production-docker.yml b/.gitea/workflows/build-production-docker.yml index 6e4f6c4..808c05e 100644 --- a/.gitea/workflows/build-production-docker.yml +++ b/.gitea/workflows/build-production-docker.yml @@ -73,6 +73,8 @@ jobs: ECR_REPOSITORY: ${{ secrets.ECR_REPOSITORY }} run: | 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)" if [ "${caller_account_id}" != "${AWS_ACCOUNT_ID}" ]; then echo "AWS_ACCOUNT_ID does not match caller identity" >&2 -- 2.43.7