This commit is contained in:
@@ -44,7 +44,7 @@ jobs:
|
|||||||
- name: Show WAR file
|
- name: Show WAR file
|
||||||
run: |
|
run: |
|
||||||
cd my-app
|
cd my-app
|
||||||
ls -lh target/env-demo-1.0-SNAPSHOT.war
|
ls -lh target/*.war
|
||||||
|
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
run: docker build -t git.kgessner.de/kevin/payara_test:latest .
|
run: docker build -t git.kgessner.de/kevin/payara_test:latest .
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
FROM payara/micro:6.2024.6-jdk17
|
FROM payara/micro:6.2024.6-jdk17
|
||||||
|
|
||||||
# WAR ins Deploy-Verzeichnis kopieren
|
# WAR ins Deploy-Verzeichnis kopieren
|
||||||
COPY myapp/target/*.war $DEPLOY_DIR
|
COPY myapp/target/env-demo-1.0-SNAPSHOT.war $DEPLOY_DIR
|
||||||
|
|
||||||
# Start des Containers
|
# Start des Containers
|
||||||
CMD ["--noCluster"]
|
CMD ["--noCluster"]
|
||||||
|
|||||||
Reference in New Issue
Block a user