Skip to content

Commit

Permalink
Revert "Remove docker build" (#307)
Browse files Browse the repository at this point in the history
* Revert "Remove docker build (#298)"

This reverts commit 300c03f.

* Update dailyBuild.sh
  • Loading branch information
gkwan-ibm authored May 8, 2024
1 parent 981dcb0 commit 906c1ad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/dailyBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ while getopts t:d:b:u:j: flag; do
case "${flag}" in
t) DATE="${OPTARG}" ;;
d) DRIVER="${OPTARG}" ;;
b) BUILD="${OPTARG}";;
u) DOCKER_USERNAME="${OPTARG}";;
j) JDK_LEVEL="${OPTARG}" ;;
*) echo "Invalid option" ;;
esac
Expand All @@ -28,4 +30,9 @@ cat module-securing/pom.xml
cat module-jwt/pom.xml
cat module-testcontainers/pom.xml

if [[ "$DOCKER_USERNAME" != "" ]]; then
sed -i "s;FROM icr.io/appcafe/open-liberty:full-java17-openj9-ubi;FROM $DOCKER_USERNAME/olguides:$BUILD-java17;g" module-kubernetes/Dockerfile
cat module-kubernetes/Dockerfile
fi

sudo -E ../scripts/testApp.sh

0 comments on commit 906c1ad

Please sign in to comment.