Skip to content

Commit 3affdd3

Browse files
committed
Don't insert version in 'websphere-liberty:kernel' of oidcProvider Docker files
1 parent 4a7fce3 commit 3affdd3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

create-new-release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ for file in $(find ./ga/latest ./ga/$NEW_VERSION -name Dockerfile.*); do
3636
sed -i'.bak' -e "s/ARG LIBERTY_BUILD_LABEL=.*/ARG LIBERTY_BUILD_LABEL=$BUILD_LABEL/g" $file;
3737

3838
# Do these substitutions only in $NEW_VERSION, not latest.
39-
if [[ "$file" == "./ga/$NEW_VERSION/"* ]];
39+
# And skip the oidcProvider files.
40+
if [[ "$file" == "./ga/$NEW_VERSION/"* && "$file" != "./ga/$NEW_VERSION/oidcProvider"* ]];
4041
then
4142
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;
4243
sed -i'.bak' -e "s/FROM websphere-liberty:kernel/FROM websphere-liberty:$NEW_VERSION-kernel/g" $file;

0 commit comments

Comments
 (0)