File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 4848 username : ${{ github.actor }}
4949 password : ${{ secrets.GITHUB_TOKEN }}
5050
51+ # Tags and annotations for the image
52+ # - Tags: image names in the registry
53+ # - Annotations: multi-architecture manifest metadata
5154 - name : Docker meta
5255 id : meta
5356 uses : docker/metadata-action@v5
5861 type=ref,event=pr
5962 type=ref,event=tag
6063 type=sha,format=short
64+ annotations : |
65+ org.opencontainers.image.description=A containerized Python tutorial environment with Jupyter Lab.
66+ org.opencontainers.image.source=https://github.com/${{ github.repository }}
67+ org.opencontainers.image.authors=Empa Scientific IT <scientificit@empa.ch>
68+ org.opencontainers.image.licenses=MIT
6169
70+ # Build and push the multi-architecture image
6271 - name : Build and push
6372 uses : docker/build-push-action@v6
6473 with :
6776 push : ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
6877 tags : ${{ steps.meta.outputs.tags }}
6978 labels : ${{ steps.meta.outputs.labels }}
79+ annotations : ${{ steps.meta.outputs.annotations }}
You can’t perform that action at this time.
0 commit comments