Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,16 @@ jobs:
cache-db: true
image: "ghcr.io/${{ github.repository }}:${{ github.sha }}"
output-file: grype.sarif
severity-cutoff: critical # TODO: lower this once vulns are fixed
severity-cutoff: high
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
with:
sarif_file: grype.sarif
- name: Check success or failure
if: ${{ steps.scan.outcome == 'failure' }}
run: exit 1
run: |-
jq '.runs[0].results | map(select(.level == "error"))' grype.sarif
exit 1

- name: Push to registry (proper)
if: ${{ inputs.push-container-image }}
Expand Down
4 changes: 2 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM --platform=$BUILDPLATFORM alpine:3.22.1 AS build
FROM --platform=$BUILDPLATFORM alpine:3.22.2 AS build
ARG TARGETOS
ARG TARGETARCH

COPY dist dist
RUN cp dist/multigres-operator-${TARGETARCH}/multigres-operator-${TARGETARCH} multigres-operator
RUN chmod +x multigres-operator

FROM alpine:3.22.1
FROM alpine:3.22.2

COPY --from=build multigres-operator multigres-operator

Expand Down
Loading