mirror of
https://github.com/seepine/action-docker-build-push.git
synced 2025-02-23 00:30:11 +08:00
fix: login-action support proxy
This commit is contained in:
parent
2b72da5862
commit
377c4f2be0
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user