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 }}"
|
IMAGE="${{ steps.meta.outputs.image }}"
|
||||||
VERSION="${{ steps.meta.outputs.version }}"
|
VERSION="${{ steps.meta.outputs.version }}"
|
||||||
docker build \
|
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}:${VERSION}" \
|
||||||
-t "${IMAGE}:latest" \
|
-t "${IMAGE}:latest" \
|
||||||
.
|
.
|
||||||
|
|||||||
Reference in New Issue
Block a user