Add simple script to build bot and update CI image

This commit is contained in:
anthorob committed 2024-06-28 20:49:56 -04:00
1 parent 7b2098a27d
commit eb7136d5b9
2 files changed
+12 -1

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
image: openjdk:17-jdk-slim image: eclipse-temurin:17-jdk-alpine
variables: variables:
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode" MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode"
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
git fetch || exit 1
git pull || exit 1
sudo docker compose down || exit 1
sudo docker compose pull || exit 1
sudo docker compose build || exit 1
sudo docker compose up -d
sudo docker compose logs -f