mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-24 14:46:48 +09:00
fix: correct empty manifest description
This commit is contained in:
1 parent
27244295fe
commit
a2caf0ae5a
1 file changed
+5
-1
@@ -167,9 +167,13 @@ jobs:
|
|||||||
while IFS= read -r tag; do
|
while IFS= read -r tag; do
|
||||||
[ -z "$tag" ] && continue
|
[ -z "$tag" ] && continue
|
||||||
echo "Creating manifest for $tag"
|
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 \
|
docker buildx imagetools create \
|
||||||
--tag "$tag" \
|
--tag "$tag" \
|
||||||
--annotation "org.opencontainers.image.description=${IMAGE_DESCRIPTION}" \
|
$ANNOTATION_ARG \
|
||||||
"${tag}-amd64" \
|
"${tag}-amd64" \
|
||||||
"${tag}-arm64"
|
"${tag}-arm64"
|
||||||
done <<< "$tags"
|
done <<< "$tags"
|
||||||
|
|||||||
Reference in new issue
Block a user