mirror of
https://github.com/seepine/action-docker-build-push.git
synced 2025-03-31 13:10:09 +08:00
fix: add build args
This commit is contained in:
parent
714e077b61
commit
b0769a37de
@ -36,6 +36,9 @@ inputs:
|
||||
description: "Push is a shorthand for --output=type=registry"
|
||||
required: false
|
||||
default: 'true'
|
||||
build-args:
|
||||
description: "Docker build args"
|
||||
required: false
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
@ -140,6 +143,7 @@ runs:
|
||||
push: ${{ inputs.push }}
|
||||
tags: ${{ steps.meta.outputs.TAGS }}
|
||||
labels: ${{ inputs.labels }}
|
||||
build-args: ${{ inputs.build-args }}
|
||||
cache-from: type=local,src=/opt/docker-cache/.build-cache
|
||||
cache-to: type=local,dest=/opt/docker-cache/.build-cache,mode=max
|
||||
build-args: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user