mirror of
https://gitea.pinpod.ir/pinwar/gh-actions.git
synced 2026-09-15 06:22:27 +00:00
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=semver,pattern={{major}}.{{minor}}
|
||||||
type=sha
|
type=sha
|
||||||
type=sha,format=long
|
type=sha,format=long
|
||||||
|
build_args:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
description: "Extra --build-arg values, one KEY=VALUE per line"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -72,3 +77,4 @@ jobs:
|
|||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
annotations: ${{ steps.meta.outputs.annotations }}
|
annotations: ${{ steps.meta.outputs.annotations }}
|
||||||
|
build-args: ${{ inputs.build_args }}
|
||||||
|
|||||||
Reference in New Issue
Block a user