You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When TRIVYFLAG=true, the trivy-adapter-photon image should be compiled as part of the build process.
When setting TRIVYFLAG=true, the trivy-adapter-photon image is not being compiled. This is because the TRIVYFLAG is not being passed to the Photon Makefile during the build process. To fix this, we need to append the -e TRIVYFLAG=$(TRIVYFLAG) parameter at the end of the make build target in the main Makefile.
Steps to reproduce the problem:
Set the TRIVYFLAG=true in the environment.
Run the make build command.
Notice that the trivy-adapter-photon image is not compiled.
Versions:
Please specify the versions of following systems.
harbor version: [v2.12.2]
Suggested Fix:
In the Makefile, update the build target to include the -e TRIVYFLAG=$(TRIVYFLAG) parameter, ensuring that TRIVYFLAG is passed to the Photon Makefile.
The text was updated successfully, but these errors were encountered:
Expected behavior and actual behavior:
When TRIVYFLAG=true, the trivy-adapter-photon image should be compiled as part of the build process.
When setting TRIVYFLAG=true, the trivy-adapter-photon image is not being compiled. This is because the TRIVYFLAG is not being passed to the Photon Makefile during the build process. To fix this, we need to append the -e TRIVYFLAG=$(TRIVYFLAG) parameter at the end of the make build target in the main Makefile.
Steps to reproduce the problem:
Versions:
Please specify the versions of following systems.
Suggested Fix:
In the Makefile, update the build target to include the -e TRIVYFLAG=$(TRIVYFLAG) parameter, ensuring that TRIVYFLAG is passed to the Photon Makefile.
The text was updated successfully, but these errors were encountered: