feat: add build_args passthrough input for docker build-push-action
This commit is contained in:
6
.github/workflows/docker.yaml
vendored
6
.github/workflows/docker.yaml
vendored
@@ -33,6 +33,11 @@ on:
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=sha
|
||||
type=sha,format=long
|
||||
build_args:
|
||||
required: false
|
||||
type: string
|
||||
default: ""
|
||||
description: "Extra --build-arg values, one KEY=VALUE per line"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -72,3 +77,4 @@ jobs:
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
annotations: ${{ steps.meta.outputs.annotations }}
|
||||
build-args: ${{ inputs.build_args }}
|
||||
|
||||
Reference in New Issue
Block a user