Skip to content

Commit

Permalink
Merge pull request #162 from OpenLiberty/staging
Browse files Browse the repository at this point in the history
Merge staging to prod - Update docker image daily build
  • Loading branch information
gkwan-ibm authored Nov 21, 2023
2 parents e70cd16 + ed1c063 commit 971a194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/dockerImageTest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ echo "Testing latest OpenLiberty Docker image"
sed -i "\#<artifactId>liberty-maven-plugin</artifactId>#a<configuration><install><runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/""$DATE""/""$DRIVER""</runtimeUrl></install></configuration>" system/pom.xml inventory/pom.xml
cat system/pom.xml inventory/pom.xml

sed -i "s;FROM icr.io/appcafe/open-liberty:kernel-slim-java11-openj9-ubi;FROM openliberty/daily:latest;g" system/Dockerfile inventory/Dockerfile
sed -i "s;FROM icr.io/appcafe/open-liberty:kernel-slim-java11-openj9-ubi;FROM cp.stg.icr.io/cp/olc/open-liberty-daily:full-java11-openj9-ubi;g" system/Dockerfile inventory/Dockerfile
sed -i "s;RUN features.sh;;g" system/Dockerfile inventory/Dockerfile
cat system/Dockerfile inventory/Dockerfile

docker pull -q "openliberty/daily:latest"
docker pull -q "cp.stg.icr.io/cp/olc/open-liberty-daily:full-java11-openj9-ubi"

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

0 comments on commit 971a194

Please sign in to comment.