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:
Sebastian Schimpfhauser 2026-01-24 12:12:23 +01:00
parent 64c9b14150
commit 7dcf1e826a
No known key found for this signature in database
6 changed files with 151 additions and 37 deletions

View file

@ -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