更新 .gitea/actions/action-docker-build-push/action.yml
Some checks failed
Some checks failed
This commit is contained in:
parent
457cac9de2
commit
a3e686a633
@ -66,14 +66,7 @@ runs:
|
|||||||
run: echo -e "\n[$(date +'%Y-%m-%d %H:%M:%S')] ⚙️ Set up Docker BuildX"
|
run: echo -e "\n[$(date +'%Y-%m-%d %H:%M:%S')] ⚙️ Set up Docker BuildX"
|
||||||
|
|
||||||
- name: Set up Docker BuildX
|
- name: Set up Docker BuildX
|
||||||
uses: docker/setup-buildx-action@v3.7.1
|
uses: docker/setup-buildx-action@v3
|
||||||
env:
|
|
||||||
HTTP_PROXY: ${{ env.http_proxy }}
|
|
||||||
HTTPS_PROXY: ${{ env.https_proxy }}
|
|
||||||
NO_PROXY: ${{ env.no_proxy }}
|
|
||||||
http_proxy: ${{ env.http_proxy }}
|
|
||||||
https_proxy: ${{ env.https_proxy }}
|
|
||||||
no_proxy: ${{ env.no_proxy }}
|
|
||||||
with:
|
with:
|
||||||
driver-opts: |
|
driver-opts: |
|
||||||
env.http_proxy=${{ env.http_proxy }}
|
env.http_proxy=${{ env.http_proxy }}
|
||||||
@ -131,13 +124,6 @@ runs:
|
|||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
env:
|
|
||||||
HTTP_PROXY: ${{ env.http_proxy }}
|
|
||||||
HTTPS_PROXY: ${{ env.https_proxy }}
|
|
||||||
NO_PROXY: ${{ env.no_proxy }}
|
|
||||||
http_proxy: ${{ env.http_proxy }}
|
|
||||||
https_proxy: ${{ env.https_proxy }}
|
|
||||||
no_proxy: ${{ env.no_proxy }}
|
|
||||||
with:
|
with:
|
||||||
context: ${{ inputs.context }}
|
context: ${{ inputs.context }}
|
||||||
file: ${{ inputs.file }}
|
file: ${{ inputs.file }}
|
||||||
@ -147,3 +133,6 @@ runs:
|
|||||||
labels: ${{ inputs.labels }}
|
labels: ${{ inputs.labels }}
|
||||||
cache-from: type=local,src=/opt/docker-cache/.build-cache
|
cache-from: type=local,src=/opt/docker-cache/.build-cache
|
||||||
cache-to: type=local,dest=/opt/docker-cache/.build-cache,mode=max
|
cache-to: type=local,dest=/opt/docker-cache/.build-cache,mode=max
|
||||||
|
build-args: |
|
||||||
|
"http_proxy=${{ env.http_proxy }}"
|
||||||
|
"https_proxy=${{ env.http_proxy }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user