Gitea Workflow ordnerstruktur geändert
Some checks failed
Productdefinitions Build & Deploy / deploy (push) Failing after 8s
Some checks failed
Productdefinitions Build & Deploy / deploy (push) Failing after 8s
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
name: Productdefinitions Build & Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [development]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build and Run
|
||||
run: |
|
||||
docker compose up -d --build
|
||||
@@ -1,20 +0,0 @@
|
||||
FROM maven:3.9-eclipse-temurin-21 AS build
|
||||
WORKDIR /productdefinitions
|
||||
|
||||
RUN git clone -b feature/Produkte --single-branch https://bitbucket.org/omds/omdsservicedefinitions.git /tmp/lib \
|
||||
&& cd /tmp/lib/OMDSServiceDefinition \
|
||||
&& mvn clean install -DskipTests
|
||||
|
||||
COPY src ./src
|
||||
COPY . .
|
||||
|
||||
RUN mvn clean package -DskipTests
|
||||
|
||||
FROM eclipse-temurin:21-jre-alpine
|
||||
WORKDIR /productdefinitions
|
||||
COPY --from=build /productdefinitions/target/*.jar productdefinitions.jar
|
||||
|
||||
EXPOSE 9080
|
||||
ENTRYPOINT ["java", "-jar", "productdefinitions.jar"]
|
||||
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
services:
|
||||
productdefinitions-service:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: productdefinitions_development_container
|
||||
ports:
|
||||
- "9080:9080"
|
||||
restart: always
|
||||
Reference in New Issue
Block a user