Skip to content

Commit

Permalink
.github: test annotation in the OCI layout's descriptor for the index
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Aug 13, 2023
1 parent f8a2d6a commit a85c022
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
tags: |
type=semver,pattern={{version}}
type=edge
labels: |
org.opencontainers.image.title=Mg
org.opencontainers.image.description=Micro Emacs text editor
org.opencontainers.image.url=https://github.com/troglobit/mg
org.opencontainers.image.documentation=https://man.troglobit.com/man1/mg.1.html
org.opencontainers.image.source=https://github.com/troglobit/mg/tree/${GITHUB_SHA:-master}/
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- name: Log in to GHCR
Expand All @@ -51,6 +57,8 @@ jobs:
- uses: docker/build-push-action@v4
id: build
with:
build-args: |
DOCKER_METADATA_OUTPUT_JSON
context: .
labels: ${{ steps.meta.outputs.labels }}
platforms: ${{ matrix.platform }}
Expand All @@ -60,11 +68,11 @@ jobs:
name-canonical=true,
push-by-digest=true,
push=true,
annotation-index.org.opencontainers.image.title=Mg,
annotation-index.org.opencontainers.image.description=Micro Emacs text editor ${{ matrix.platform }},
annotation-index.org.opencontainers.image.url=https://github.com/troglobit/mg,
annotation-index.org.opencontainers.image.licenses=Unlicense,
annotation-index.org.opencontainers.image.revision=${GITHUB_SHA}
annotation-index-descriptor.org.opencontainers.image.title=Mg,
annotation-index-descriptor.org.opencontainers.image.description=Micro Emacs text editor for ${{ matrix.platform }},
annotation-index-descriptor.org.opencontainers.image.url=https://github.com/troglobit/mg,
annotation-index-descriptor.org.opencontainers.image.licenses=Unlicense,
annotation-index-descriptor.org.opencontainers.image.revision=${GITHUB_SHA}
- name: Export digest
run: |
mkdir -p /tmp/digests
Expand Down

0 comments on commit a85c022

Please sign in to comment.