diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50e65312aa3..87647008e21 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -150,7 +150,7 @@ jobs: with: image-ref: 'docker.io/litmuschaos/litmusportal-server:${{ github.sha }}' format: 'table' - exit-code: '0' + exit-code: '1' ignore-unfixed: true vuln-type: 'os,library' severity: 'CRITICAL,HIGH' @@ -177,7 +177,7 @@ jobs: with: image-ref: 'docker.io/litmuschaos/litmusportal-auth-server:${{ github.sha }}' format: 'table' - exit-code: '0' + exit-code: '1' ignore-unfixed: true vuln-type: 'os,library' severity: 'CRITICAL,HIGH' @@ -204,7 +204,7 @@ jobs: with: image-ref: 'docker.io/litmuschaos/litmusportal-subscriber:${{ github.sha }}' format: 'table' - exit-code: '0' + exit-code: '1' ignore-unfixed: true vuln-type: 'os,library' severity: 'CRITICAL,HIGH' @@ -261,7 +261,7 @@ jobs: with: image-ref: 'docker.io/litmuschaos/litmusportal-event-tracker:${{ github.sha }}' format: 'table' - exit-code: '0' + exit-code: '1' ignore-unfixed: true vuln-type: 'os,library' severity: 'CRITICAL,HIGH' diff --git a/chaoscenter/authentication/Dockerfile b/chaoscenter/authentication/Dockerfile index a176a4a2d76..fa6db11dab0 100644 --- a/chaoscenter/authentication/Dockerfile +++ b/chaoscenter/authentication/Dockerfile @@ -15,6 +15,7 @@ RUN go env RUN CGO_ENABLED=0 go build -o /output/server -v ./api/ # Packaging stage +# Use RedHat UBI minimal image as base FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4 LABEL maintainer="LitmusChaos" diff --git a/chaoscenter/event-tracker/Dockerfile b/chaoscenter/event-tracker/Dockerfile index 1777dbd6221..b6cee80d97d 100644 --- a/chaoscenter/event-tracker/Dockerfile +++ b/chaoscenter/event-tracker/Dockerfile @@ -16,6 +16,7 @@ RUN go env RUN CGO_ENABLED=0 go build -o /output/event-tracker -v # Packaging stage +# Use RedHat UBI minimal image as base FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4 LABEL maintainer="LitmusChaos" diff --git a/chaoscenter/graphql/server/Dockerfile b/chaoscenter/graphql/server/Dockerfile index 4a31543e36a..7497d22c7e5 100644 --- a/chaoscenter/graphql/server/Dockerfile +++ b/chaoscenter/graphql/server/Dockerfile @@ -15,7 +15,7 @@ ENV GOOS=${TARGETOS} \ RUN go env RUN CGO_ENABLED=0 go build -o /output/server -v -## DEPLOY STAGE +# DEPLOY STAGE # Use Red Hat UBI minimal image as base FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4 diff --git a/chaoscenter/subscriber/Dockerfile b/chaoscenter/subscriber/Dockerfile index 9c20c584d02..17b71c3527a 100644 --- a/chaoscenter/subscriber/Dockerfile +++ b/chaoscenter/subscriber/Dockerfile @@ -16,6 +16,7 @@ RUN go env RUN CGO_ENABLED=0 go build -o /output/subscriber -v # Packaging stage +# Use RedHat UBI minimal image as base FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4 LABEL maintainer="LitmusChaos"