Gitea Workflow ordnerstruktur geändert
Some checks failed
Productdefinitions Build & Deploy / deploy (push) Failing after 8s

This commit is contained in:
2026-01-29 16:12:23 +01:00
parent 82ed1e476f
commit d3184dfbe5
3 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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"]

View File

@@ -1,9 +0,0 @@
services:
productdefinitions-service:
build:
context: .
dockerfile: Dockerfile
container_name: productdefinitions_development_container
ports:
- "9080:9080"
restart: always