mirror of
https://github.com/docker/build-push-action.git
synced 2026-03-19 20:20:23 +08:00
Add parameters for controlling inheritance of labels and annotations
Add new parameters `inherit-annotations` and `inherit-labels` that allows disabling inheritance from the base image or base states. Signed-off-by: Sebastian Schimpfhauser <seschi98@googlemail.com>
This commit is contained in:
parent
64c9b14150
commit
7dcf1e826a
6 changed files with 151 additions and 37 deletions
|
|
@ -46,6 +46,14 @@ inputs:
|
|||
file:
|
||||
description: "Path to the Dockerfile"
|
||||
required: false
|
||||
inherit-annotations:
|
||||
description: "Inherit the annotations from the base image or base stages"
|
||||
required: false
|
||||
default: 'true'
|
||||
inherit-labels:
|
||||
description: "Inherit the labels from the base image or base stages"
|
||||
required: false
|
||||
default: 'true'
|
||||
labels:
|
||||
description: "List of metadata for an image"
|
||||
required: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue