Skip to content

Commit 301e70d

Browse files
committed
Update create-new-release.sh to pattern match PARENT_IMAGE
1 parent 2d643ee commit 301e70d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

create-new-release.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ for file in $(find ./ga/latest ./ga/$NEW_VERSION -name Dockerfile.*); do
4141
if [[ "$file" == "./ga/$NEW_VERSION/"* && "$file" != "./ga/$NEW_VERSION/oidcProvider"* ]];
4242
then
4343
sed -i'.bak' -e "s/ARG PARENT_IMAGE=icr.io\/appcafe\/websphere-liberty:kernel/ARG PARENT_IMAGE=icr.io\/appcafe\/websphere-liberty:$NEW_VERSION-kernel/g" $file;
44-
sed -i'.bak' -e "s/FROM websphere-liberty:kernel/FROM websphere-liberty:$NEW_VERSION-kernel/g" $file;
44+
# sed -i'.bak' -e "s/FROM websphere-liberty:kernel/FROM websphere-liberty:$NEW_VERSION-kernel/g" $file;
45+
sed -i'.bak' -e "s/ARG PARENT_IMAGE=websphere-liberty:kernel/ARG PARENT_IMAGE=websphere-liberty:$NEW_VERSION-kernel/g" $file;
4546
fi
4647

4748
# Clean up temp files

0 commit comments

Comments
 (0)