Skip to content

Commit 0f763c2

Browse files
committed
πŸš’ Prod is down πŸš’. Approve ASAP
Signed-off-by: John Kjell <[email protected]>
1 parent 269de7e commit 0f763c2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

β€Ž.github/workflows/pipeline.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
pre-command: |
4141
curl -sSfL https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-x86_64 -o /usr/local/bin/hadolint && \
4242
chmod +x /usr/local/bin/hadolint
43-
command: hadolint -f sarif --ignore DL3002 Dockerfile > hadolint.sarif
43+
command: hadolint -f sarif > hadolint.sarif
4444
artifact-upload-name: hadolint.sarif
4545
artifact-upload-path: hadolint.sarif
4646

@@ -110,6 +110,9 @@ jobs:
110110
install: true
111111
use: true
112112

113+
- name: Fix Dockerfile
114+
run: sed -i 's/# USER root/USER root/g' Dockerfile
115+
113116
- name: Build Image
114117
uses: testifysec/witness-run-action@reusable-workflow # v0.2.0
115118
with:

β€ŽDockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN go build -o bin/software
2020

2121
FROM cgr.dev/chainguard/static@sha256:676e989769aa9a5254fbfe14abb698804674b91c4d574bb33368d87930c5c472
2222

23-
USER root
23+
# USER root
2424

2525
COPY --from=builder /build/bin/software /software
2626

0 commit comments

Comments
Β (0)