v1.8.0 #429
5
.github/workflows/docker-image.yml
vendored
5
.github/workflows/docker-image.yml
vendored
@@ -81,6 +81,7 @@ jobs:
|
|||||||
else
|
else
|
||||||
TAGS=("${{ github.ref_name }}")
|
TAGS=("${{ github.ref_name }}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TAG_ARRAY=()
|
TAG_ARRAY=()
|
||||||
for tag in "${TAGS[@]}"; do
|
for tag in "${TAGS[@]}"; do
|
||||||
if [ "${{ github.event.inputs.registry }}" = "ghcr" ]; then
|
if [ "${{ github.event.inputs.registry }}" = "ghcr" ]; then
|
||||||
@@ -92,7 +93,9 @@ jobs:
|
|||||||
TAG_ARRAY+=("docker.io/bugattiguy527/termix:${tag}")
|
TAG_ARRAY+=("docker.io/bugattiguy527/termix:${tag}")
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo "tags=$(printf '%s\n' "${TAG_ARRAY[@]}" | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT
|
|
||||||
|
JSON_TAGS=$(printf '%s\n' "${TAG_ARRAY[@]}" | jq -R -s -c 'split("\n")[:-1]')
|
||||||
|
echo "tags=$JSON_TAGS" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- uses: useblacksmith/build-push-action@v2
|
- uses: useblacksmith/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user