Skip to content

Commit

Permalink
fix: trivyimagescan and halolint error
Browse files Browse the repository at this point in the history
Signed-off-by: Valina Li <valina.li@intel.com>
  • Loading branch information
vli11 committed Sep 19, 2023
1 parent 57f8933 commit 84ca67e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trivyimagescan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@7b7aa264d83dc58691451798b4d117d53d21edfe
with:
image-ref: 'automated-checkout/ds-card-reader:dev'
image-ref: 'automated-vending/ds-card-reader:dev'
format: 'template'
template: '@/contrib/sarif.tpl'
output: 'trivy-results-ds-card-reader.sarif'
Expand Down
1 change: 1 addition & 0 deletions ds-card-reader/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ LABEL license='SPDX-License-Identifier: BSD-3-Clause' \


# add git for go modules
# hadolint ignore=DL3018
RUN apk update && apk add --no-cache make git gcc libc-dev linux-headers

ENV GO111MODULE=on
Expand Down

0 comments on commit 84ca67e

Please sign in to comment.