Skip to content

Commit

Permalink
chore: pinning 0.29.0 trivy (#128)
Browse files Browse the repository at this point in the history
Co-authored-by: carolina valencia <[email protected]>
  • Loading branch information
krol3 and krol3 authored Jun 17, 2022
1 parent c666240 commit 49e970d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "build"
on: [push, pull_request]
env:
TRIVY_VERSION: 0.28.1
TRIVY_VERSION: 0.29.0
jobs:
build:
name: build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/aquasecurity/trivy:0.28.1
FROM ghcr.io/aquasecurity/trivy:0.29.0
COPY entrypoint.sh /
RUN apk --no-cache add bash
RUN chmod +x /entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion test/data/config.test
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"Class": "config",
"Type": "dockerfile",
"MisconfSummary": {
"Successes": 22,
"Successes": 21,
"Failures": 1,
"Exceptions": 0
},
Expand Down
2 changes: 1 addition & 1 deletion test/data/fs-scheck.test
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"Class": "config",
"Type": "dockerfile",
"MisconfSummary": {
"Successes": 22,
"Successes": 21,
"Failures": 1,
"Exceptions": 0
},
Expand Down
2 changes: 1 addition & 1 deletion test/data/image-sarif.test
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@
}
}
],
"version": "0.28.1"
"version": "0.29.0"
}
},
"results": [
Expand Down

1 comment on commit 49e970d

@eleazar-harold-zen
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is causing some issues with trivy image pull

Step 1/5 : FROM ghcr.io/aquasecurity/trivy:0.29.0
  0.29.0: Pulling from aquasecurity/trivy
  2408cc74d12b: Already exists
  1f7baadb884f: Pulling fs layer
  d8fba[6](https://github.com/zenbusiness/dockerfiles/runs/7003954736?check_suite_focus=true#step:2:6)[7](https://github.com/zenbusiness/dockerfiles/runs/7003954736?check_suite_focus=true#step:2:7)49e9b: Pulling fs layer
  b29b36dd[8](https://github.com/zenbusiness/dockerfiles/runs/7003954736?check_suite_focus=true#step:2:8)ef1: Pulling fs layer
  error pulling image configuration: download failed after attempts=1: unauthorized: unauthenticated: User cannot be authenticated with the token provided.

Please sign in to comment.