Merge pull request #157 from esammier/feat-auto-oci-annotations

Docker image metadata with OCI annotations
This commit is contained in:
Alan Grainger
2025-11-10 08:01:20 +08:00
committed by GitHub
+7
View File
@@ -42,6 +42,12 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Extract Docker image metadata
id: metadata
uses: docker/metadata-action@v5
with:
images: ${{ github.repository }}
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
@@ -56,3 +62,4 @@ jobs:
${{ github.repository }}:latest ${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ env.PACKAGE_VERSION }} ghcr.io/${{ github.repository }}:${{ env.PACKAGE_VERSION }}
ghcr.io/${{ github.repository }}:latest ghcr.io/${{ github.repository }}:latest
annotations: ${{ steps.metadata.output.annotations }}