mirror of
https://github.com/seepine/action-docker-build-push.git
synced 2025-03-31 13:10:09 +08:00
fix: fix build-args
This commit is contained in:
parent
b0769a37de
commit
a140801d37
@ -39,6 +39,7 @@ inputs:
|
|||||||
build-args:
|
build-args:
|
||||||
description: "Docker build args"
|
description: "Docker build args"
|
||||||
required: false
|
required: false
|
||||||
|
default: ''
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
@ -143,9 +144,9 @@ runs:
|
|||||||
push: ${{ inputs.push }}
|
push: ${{ inputs.push }}
|
||||||
tags: ${{ steps.meta.outputs.TAGS }}
|
tags: ${{ steps.meta.outputs.TAGS }}
|
||||||
labels: ${{ inputs.labels }}
|
labels: ${{ inputs.labels }}
|
||||||
build-args: ${{ inputs.build-args }}
|
|
||||||
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: |
|
build-args: |
|
||||||
"http_proxy='${{ env.http_proxy }}'"
|
"http_proxy='${{ env.http_proxy }}'"
|
||||||
"https_proxy='${{ env.https_proxy }}'"
|
"https_proxy='${{ env.https_proxy }}'"
|
||||||
|
${{ inputs.build-args }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user