Skip to content

Commit

Permalink
Update dailyBuild.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gkwan-ibm authored May 8, 2024
1 parent 62ead15 commit 37dc357
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/dailyBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ sed -i "\#<artifactId>liberty-maven-plugin</artifactId>#a<configuration><install
cat system/pom.xml
cat inventory/pom.xml

sed -i "s;FROM icr.io/appcafe/open-liberty:kernel-slim-java11-openj9-ubi;FROM $DOCKER_USERNAME/olguides:$BUILD;g" system/Dockerfile inventory/Dockerfile
sed -i "s;RUN features.sh;#RUN features.sh;g" system/Dockerfile inventory/Dockerfile
cat system/Dockerfile
cat inventory/Dockerfile
if [[ "$DOCKER_USERNAME" != "" ]]; then
sed -i "s;FROM icr.io/appcafe/open-liberty:kernel-slim-java11-openj9-ubi;FROM $DOCKER_USERNAME/olguides:$BUILD;g" system/Dockerfile inventory/Dockerfile
sed -i "s;RUN features.sh;#RUN features.sh;g" system/Dockerfile inventory/Dockerfile
cat system/Dockerfile
cat inventory/Dockerfile
fi

sudo -u runner ../scripts/testApp.sh

0 comments on commit 37dc357

Please sign in to comment.