Skip to content

Commit

Permalink
fix: image tag name
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
  • Loading branch information
hlts2 committed Apr 4, 2024
1 parent 2c4eff4 commit 4c2bdb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/_prepare-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
- name: Search docker image
run: |
for image in ${IMAGES}; do
echo "Search image: ${image}:${tag}"
echo "Search image: ${image}:${IMAGE_TAG}"
if ! curl -s "https://registry.hub.docker.com/v2/repositories/${image}/tags/${IMAGE_TAG}" | jq '.name' | grep -v "null" > /dev/null ; then
echo "Image ${image}:${tag} not Found. Existing..."
echo "Image ${image}:${IMAGE_TAG} not Found. Existing..."
exit 0
else
echo "Image ${image}:${tag} Found"
echo "Image ${image}:${IMAGE_TAG} Found"
fi
done
echo "All images found."
Expand Down

0 comments on commit 4c2bdb0

Please sign in to comment.