Skip to content

Commit

Permalink
ci: fixup tag on manifest generation
Browse files Browse the repository at this point in the history
  • Loading branch information
skylenet committed May 15, 2024
1 parent 54e5b63 commit 923fa46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/manifest/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ runs:
for ((i=0; i<$len; i++)); do
slug=$(echo $PLATFORMS | jq -r --argjson i $i '.[$i].slug')
imagetag="${{ inputs.tag }}-$slug"
imagetag=$(echo $imagetag | cut -d ':' -f2)
image="${{ inputs.repository }}:$imagetag"
url="https://hub.docker.com/v2/repositories/${{ inputs.repository }}/tags?page_size=25&page=1&ordering=&name=$imagetag"
exists=$(curl -s $url | jq '.results | length > 0')
Expand Down

0 comments on commit 923fa46

Please sign in to comment.