Skip to content

Commit 05bb4b6

Browse files
committed
Fix image labels not appearing in multi-arch images from GitHub action builds
1 parent 698d5e1 commit 05bb4b6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/images-publish.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ jobs:
3939
type=schedule,pattern=nightly
4040
type=semver,pattern={{version}}
4141
type=semver,pattern={{major}}.{{minor}}
42+
labels: |
43+
org.opencontainers.image.source=https://github.com/codedmonkey/dirigent
44+
org.opencontainers.image.description=Dirigent PHP Package Registry
45+
org.opencontainers.image.licenses=FSL-1.1-MIT
4246
4347
- name: Login to GitHub Packages
4448
uses: docker/login-action@v3
@@ -53,7 +57,7 @@ jobs:
5357
with:
5458
push: true
5559
tags: ${{ steps.meta.outputs.tags }}
56-
labels: ${{ steps.meta.outputs.labels }}
60+
annotations: ${{ steps.meta.outputs.annotations }}
5761
platforms: linux/amd64,linux/arm64
5862

5963
- name: Generate artifact attestation

0 commit comments

Comments
 (0)