Skip to content

Commit 6b78cc4

Browse files
committed
feat: add annotations
1 parent d5b1c84 commit 6b78cc4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ jobs:
5353
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5454
tags: |
5555
type=sha
56+
labels: |
57+
org.opencontainers.image.description=Busybox image with talosctl (latest)
5658
5759
- name: Build and push Docker image
5860
if: steps.changed-files.outputs.any_changed == 'true'
@@ -64,6 +66,7 @@ jobs:
6466
push: true
6567
tags: ${{ steps.meta.outputs.tags }}
6668
labels: ${{ steps.meta.outputs.labels }}
69+
annotations: ${{ steps.meta.outputs.annotations }}
6770

6871
- name: Generate artifact attestation
6972
uses: actions/attest-build-provenance@v1

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
type=ref,event=tag
4545
type=raw,value=latest
4646
type=sha
47+
labels: |
48+
org.opencontainers.image.description=Busybox image with talosctl (latest)
4749
4850
- name: Build and push Docker image
4951
id: push
@@ -54,6 +56,7 @@ jobs:
5456
push: true
5557
tags: ${{ steps.meta.outputs.tags }}
5658
labels: ${{ steps.meta.outputs.labels }}
59+
annotations: ${{ steps.meta.outputs.annotations }}
5760

5861
- name: Generate artifact attestation
5962
uses: actions/attest-build-provenance@v1

0 commit comments

Comments
 (0)