Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: NVSHAS-9501 support SLSA #29

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Conversation

holyspectral
Copy link
Collaborator

Implement standalone Dockerfile and corresponding GHA to support SLSA L3.

@holyspectral holyspectral force-pushed the slsa branch 4 times, most recently from ee2f22a to 550d111 Compare November 5, 2024 22:02
.github/workflows/dev.yml Outdated Show resolved Hide resolved
@holyspectral holyspectral marked this pull request as ready for review November 25, 2024 21:58
1. Provide cross-platform/standalone Dockerfile
2. Release.yml to publish SLSA-capable artifacts
3. Provide build target, test-image, build-image and push-image to sync
   with rancher.
4. Switch to golang:1.22 as its base image
Comment on lines +8 to +11
COPY config/ /src/config
COPY server/ /src/server
COPY vendor/ /src/vendor
COPY go.mod go.sum adapter.go version.go Makefile /src
Copy link

Choose a reason for hiding this comment

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

This could be optimised so that the Go mod download leverages Docker caching. Feel free to change that in that follow-up PR.

@BinX-Suse BinX-Suse merged commit 7202b01 into neuvector:main Dec 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants