mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-02-21 20:20:34 +09:00
fix: correct empty manifest description
This commit is contained in:
parent
27244295fe
commit
a2caf0ae5a
6
.github/workflows/publish-image.yml
vendored
6
.github/workflows/publish-image.yml
vendored
@@ -167,9 +167,13 @@ jobs:
|
||||
while IFS= read -r tag; do
|
||||
[ -z "$tag" ] && continue
|
||||
echo "Creating manifest for $tag"
|
||||
ANNOTATION_ARG=""
|
||||
if [ -n "${IMAGE_DESCRIPTION:-}" ]; then
|
||||
ANNOTATION_ARG="--annotation index:org.opencontainers.image.description=${IMAGE_DESCRIPTION}"
|
||||
fi
|
||||
docker buildx imagetools create \
|
||||
--tag "$tag" \
|
||||
--annotation "org.opencontainers.image.description=${IMAGE_DESCRIPTION}" \
|
||||
$ANNOTATION_ARG \
|
||||
"${tag}-amd64" \
|
||||
"${tag}-arm64"
|
||||
done <<< "$tags"
|
||||
|
||||
Reference in New Issue
Block a user