Skip to content

Commit 7ce142e

Browse files
committed
Add annotations via "build-and-push.outputs"
1 parent ee65750 commit 7ce142e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/docker-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,5 @@ jobs:
6767
push: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
6868
tags: ${{ steps.meta.outputs.tags }}
6969
labels: ${{ steps.meta.outputs.labels }}
70+
outputs: |
71+
type=image,name=ghcr.io/${{ github.repository }},push-by-digest=false,name-canonical=false,push=true,annotation-index.org.opencontainers.image.description="A containerized Python tutorial environment with Jupyter Lab.",annotation-index.org.opencontainers.image.source="https://github.com/${{ github.repository }}",annotation-index.org.opencontainers.image.authors="Empa Scientific IT <scientificit@empa.ch>",annotation-index.org.opencontainers.image.licenses="MIT"

0 commit comments

Comments
 (0)