From 377c4f2be080ee86594242694b12f7e8b6657e9d Mon Sep 17 00:00:00 2001 From: seepine <93666053+seepine@users.noreply.github.com> Date: Mon, 17 Feb 2025 23:11:20 +0800 Subject: [PATCH] fix: login-action support proxy --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index 2b205a4..79369d0 100644 --- a/action.yml +++ b/action.yml @@ -84,6 +84,10 @@ runs: registry: ${{ inputs.registry }} username: ${{ inputs.username }} password: ${{ inputs.password }} + env: + HTTP_PROXY: ${{ env.http_proxy }} + HTTPS_PROXY: ${{ env.https_proxy }} + NO_PROXY: ${{ env.no_proxy }} - name: echo Cache docker build run: echo -e "\n[$(date +'%Y-%m-%d %H:%M:%S')] ⚙️ Cache docker build"