Comments (2)
I found out it was because of git workflow.
https://github.com/quay/clair/blob/main/.github/workflows/cut-release.yml#L130-L131
workflow can not set the value of cmd.Version.
https://github.com/quay/clair/blob/main/cmd/build.go#L23-L31.
Maybe someone can pass CLAIR_VERSION like that leiqi96@f74073d.
but I do not know how to fix it in workflow.
from clair.
If changing cut-release.yaml like that
go build -ldflags="-X github.com/quay/clair/v4/cmd.Version=${{ needs.config.outputs.version }}" -o "clairctl-${{matrix.goos}}-${{matrix.goarch}}" ./cmd/clairctl
, It maybe can solve this issue.
from clair.
Related Issues (20)
- notifier: migrate to `amqp091` HOT 1
- docs: Add grafana and pyroscope to the testing.md docs HOT 1
- Verifying the Clair Installation HOT 3
- CVE-2023-38408 is not found on any images that other scanners show have it HOT 2
- CVE-2020-7712 is for node json package but clair false positives by flagging ruby json package as vulnerable HOT 1
- Clair Vulnerability Databases/Sources HOT 2
- config: lint for `jaeger` protocol & support for OTLP export HOT 1
- clairctl: export-updaters OOM issues HOT 7
- Incorrect old CVES are being report with COPY and python virtualenv HOT 1
- Error during the internal updaters process for rhel, alpine and ubuntu url HOT 1
- Graceful shutdown ... isn't HOT 3
- Vulnerability report is returned for non-final index reports (`IndexError` or still in progress)
- Clair allways returns OK HOT 18
- clair returns ok HOT 4
- claircore: open /tmp: operation not supported HOT 8
- manifest generation is costly when registry does not support Range requests HOT 3
- clairctl: warn when server is not honoring range requests
- go 1.21.9 subversion error HOT 1
- 4.7.4 release was not completed HOT 3
- How to check private registry using clairctl
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clair.