Skip to content

Commit d2c43f2

Browse files
Merge pull request #738 from jstourac/removeTmpWorkaround
Remove unncessary one-time workaround from the digest updater GHA
2 parents d3a5f84 + f195ae1 commit d2c43f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/notebooks-digest-updater-upstream.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ jobs:
8282
skopeo_metadata=$(skopeo inspect --retry-times 3 "docker://${img}")
8383
8484
src_tag=$(echo "${skopeo_metadata}" | jq '.Env[] | select(startswith("OPENSHIFT_BUILD_NAME=")) | split("=")[1]' | tr -d '"' | sed 's/-amd64$//')
85-
src_tag2=$(echo $src_tag | sed 's/python-3.9/python-3.11/')
86-
regex="^$src_tag2-${{ env.RELEASE_VERSION_N}}-\d+-${{ steps.hash-n.outputs.HASH_N }}\$"
85+
regex="^$src_tag-${{ env.RELEASE_VERSION_N}}-\d+-${{ steps.hash-n.outputs.HASH_N }}\$"
8786
latest_tag=$(echo "${skopeo_metadata}" | jq -r --arg regex "$regex" '.RepoTags | map(select(. | test($regex))) | .[0]')
8887
# use `--no-tags` for skopeo once available in newer version
8988
digest=$(skopeo inspect --retry-times 3 "docker://${registry}:${latest_tag}" | jq .Digest | tr -d '"')

0 commit comments

Comments
 (0)