modified: .gitea/limbo_actions/buildkit-build-push/action.yaml
/ build-container-image (push) Successful in 16s
/ build-container-image (push) Successful in 16s
This commit is contained in:
1 parent
31fa1440d0
commit
cf5a8fff20
1 file changed
+1
@@ -75,6 +75,7 @@ runs:
|
|||||||
# Build names, convert csv (tag1:latest,tag2:x,tag3) to name=tag1:latest,name=tag2:x,tag
|
# Build names, convert csv (tag1:latest,tag2:x,tag3) to name=tag1:latest,name=tag2:x,tag
|
||||||
OUTPUT_NAMES=""
|
OUTPUT_NAMES=""
|
||||||
while IFS= read -r tag; do
|
while IFS= read -r tag; do
|
||||||
|
[[ -z "$tag" ]] && continue
|
||||||
OUTPUT_NAMES="${OUTPUT_NAMES:+$OUTPUT_NAMES,}name=$tag"
|
OUTPUT_NAMES="${OUTPUT_NAMES:+$OUTPUT_NAMES,}name=$tag"
|
||||||
done <<< "${{ inputs.tags }}"
|
done <<< "${{ inputs.tags }}"
|
||||||
echo "output names: $OUTPUT_NAMES"
|
echo "output names: $OUTPUT_NAMES"
|
||||||
|
|||||||
Reference in new issue
Block a user