From 9f5877ad9f9f55ac66c7394b685fbf84b366d1d4 Mon Sep 17 00:00:00 2001 From: Sahil Aggarwal Date: Mon, 8 Jul 2024 10:44:49 +0200 Subject: [PATCH] fixed broken pipeline issue --- .github/workflows/publish-image-semantic-hub.yml | 13 ------------- backend/Dockerfile | 2 ++ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/publish-image-semantic-hub.yml b/.github/workflows/publish-image-semantic-hub.yml index 9f2f082d..e04e305d 100644 --- a/.github/workflows/publish-image-semantic-hub.yml +++ b/.github/workflows/publish-image-semantic-hub.yml @@ -59,19 +59,6 @@ jobs: - name: install dependencies working-directory: ./.github/actions/generate-dependencies-notice run: npm install - - name: baselayer-licenses - uses: philips-labs/tern-action@v1.1.0 - with: - image: eclipse-temurin:17-jre-alpine - format: json - output: ./base-image-layers.json - - name: dependency-licenses - uses: ./.github/actions/generate-dependencies-notice - with: - version: ${{ github.ref_name }} - base-path: ${{ github.workspace }} - maven-deps-path: ./backend/maven.deps - base-image-layers-path: ./base-image-layers.json - name: Docker meta id: meta uses: docker/metadata-action@v4 diff --git a/backend/Dockerfile b/backend/Dockerfile index 5f7fc5d2..662491c7 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -39,6 +39,8 @@ COPY --from=builder /build/backend/target/semantic-hub*.jar app.jar COPY backend/Dockerfile *legal /legal/ +COPY LICENSE NOTICE.md DEPENDENCIES SECURITY.md /legal/ + ENV JAVA_TOOL_OPTIONS "-Xms512m -Xmx2048m" EXPOSE 4242