File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 40
40
pre-command : |
41
41
curl -sSfL https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-x86_64 -o /usr/local/bin/hadolint && \
42
42
chmod +x /usr/local/bin/hadolint
43
- command : hadolint -f sarif --ignore DL3002 Dockerfile > hadolint.sarif
43
+ command : hadolint -f sarif Dockerfile > hadolint.sarif
44
44
artifact-upload-name : hadolint.sarif
45
45
artifact-upload-path : hadolint.sarif
46
46
@@ -110,6 +110,9 @@ jobs:
110
110
install : true
111
111
use : true
112
112
113
+ - name : Fix Dockerfile
114
+ run : sed -i 's/# USER root/USER root/g' Dockerfile
115
+
113
116
- name : Build Image
114
117
uses : testifysec/witness-run-action@reusable-workflow # v0.2.0
115
118
with :
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN go build -o bin/software
20
20
21
21
FROM cgr.dev/chainguard/static@sha256:676e989769aa9a5254fbfe14abb698804674b91c4d574bb33368d87930c5c472
22
22
23
- USER root
23
+ # USER root
24
24
25
25
COPY --from=builder /build/bin/software /software
26
26
You canβt perform that action at this time.
0 commit comments