We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3cb96e commit 88a5640Copy full SHA for 88a5640
hack/build-integration-canary.sh
@@ -276,9 +276,10 @@ canary::build::integration(){
276
fi
277
278
while read -r line; do
279
- # Extract value after "=" from a possible dockerfile `ARG XXX_VERSION`
+ # Extract value after "=" from a possible dockerfile `ARG XXX_VERSION`, stripping out @ suffixes
280
old_version=$(echo "$line" | grep "ARG ${shortsafename}_VERSION=") || true
281
old_version="${old_version##*=}"
282
+ old_version="${old_version%%@*}"
283
[ "$old_version" != "" ] || continue
284
# If the Dockerfile version does NOT start with a v, adapt to that
285
[ "${old_version:0:1}" == "v" ] || higher_readable="${higher_readable:1}"
0 commit comments