fix: login-action support proxy

This commit is contained in:
seepine 2025-02-17 23:11:20 +08:00 committed by GitHub
parent 2b72da5862
commit 377c4f2be0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,6 +84,10 @@ runs:
registry: ${{ inputs.registry }} registry: ${{ inputs.registry }}
username: ${{ inputs.username }} username: ${{ inputs.username }}
password: ${{ inputs.password }} password: ${{ inputs.password }}
env:
HTTP_PROXY: ${{ env.http_proxy }}
HTTPS_PROXY: ${{ env.https_proxy }}
NO_PROXY: ${{ env.no_proxy }}
- name: echo Cache docker build - name: echo Cache docker build
run: echo -e "\n[$(date +'%Y-%m-%d %H:%M:%S')] ⚙️ Cache docker build" run: echo -e "\n[$(date +'%Y-%m-%d %H:%M:%S')] ⚙️ Cache docker build"