fix(ci): add OCI labels to associate Docker image with Gitea repo
This commit is contained in:
@@ -34,6 +34,9 @@ jobs:
|
||||
IMAGE="${{ steps.meta.outputs.image }}"
|
||||
VERSION="${{ steps.meta.outputs.version }}"
|
||||
docker build \
|
||||
--label "org.opencontainers.image.source=${{ gitea.server_url }}/${{ gitea.repository }}" \
|
||||
--label "org.opencontainers.image.description=Self-hosted web app launcher dashboard" \
|
||||
--label "org.opencontainers.image.version=${VERSION}" \
|
||||
-t "${IMAGE}:${VERSION}" \
|
||||
-t "${IMAGE}:latest" \
|
||||
.
|
||||
|
||||
Reference in New Issue
Block a user