Skip to content

Commit 2dd894e

Browse files
committed
labels for images
1 parent 43be0c2 commit 2dd894e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

actions/docker/action.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ inputs:
2222
description: "Registry, e.g. ghcr.io"
2323
required: false
2424
default: "ghcr.io"
25+
labels:
26+
description: 'The labels of the image to build. Separate by newline. For example, "io.containers.capabilities=sys_admin,mknod".'
27+
required: false
2528

2629
runs:
2730
using: "composite"
@@ -40,7 +43,7 @@ runs:
4043
image: ${{ inputs.github_repository }}
4144
tags: ${{ inputs.tag }}
4245
dockerfiles: ${{ inputs.dockerfiles }}
43-
46+
labels: ${{ inputs.labels }}
4447

4548
- name: Push to ghcr.io
4649
id: push-to-ghcr

0 commit comments

Comments
 (0)