Skip to content

Commit 0b7423b

Browse files
Merge pull request #38 from zanieb/zb/annotations
Add support for annotations
2 parents 3ebc0d4 + 57a5fb2 commit 0b7423b

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ The following inputs can be used as `step.with` keys and match the inputs from [
123123
| ------------------ | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
124124
| `add-hosts` | List/CSV | List of [customs host-to-IP mapping](https://docs.docker.com/engine/reference/commandline/build/#add-entries-to-container-hosts-file---add-host) (e.g., `docker:10.180.0.1`) |
125125
| `allow` | List/CSV | List of [extra privileged entitlement](https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#allow) (e.g., `network.host,security.insecure`) |
126+
| `annotations` | List | List of annotation to set to the image |
126127
| `attests` | List | List of [attestation](https://docs.docker.com/build/attestations/) parameters (e.g., `type=sbom,generator=image`) |
127128
| `build-args` | List | List of [build-time variables](https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#build-arg) |
128129
| `build-contexts` | List | List of additional [build contexts](https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#build-context) (e.g., `name=path`) |

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ inputs:
1515
allow:
1616
description: 'List of extra privileged entitlement (e.g., network.host,security.insecure)'
1717
required: false
18+
annotations:
19+
description: 'List of annotation to set to the image'
20+
required: false
1821
attests:
1922
description: 'List of attestation parameters (e.g., type=sbom,generator=image)'
2023
required: false

0 commit comments

Comments
 (0)