Skip to content

Commit 93e7746

Browse files
committed
Fix hard-coded tag from release workflow
1 parent e22054c commit 93e7746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
-H "Accept: application/vnd.github+json" \
6464
-H "X-GitHub-Api-Version: 2022-11-28" \
6565
${{ format('{0}/packages/container/{1}/versions', env.GITHUB_API_PACKAGE_OWNER, env.PACKAGE_NAME_ESCAPED) }} \
66-
| jq -r '.[] | select(.metadata.container.tags[] == "v2.0.0") | .name' \
66+
| jq -r '.[] | select(.metadata.container.tags[] == "${ github.ref_name }") | .name' \
6767
`
6868
PUBLISHED_IMAGE_DIGEST=ghcr.io/${{ env.PREDICTOR_IMAGE_NAME }}@${DIGEST}
6969

0 commit comments

Comments
 (0)