Add CI workflow to build, scan, and push systemd-logs image#240
Open
testsabirweb wants to merge 2 commits intovmware-tanzu:mainfrom
Open
Add CI workflow to build, scan, and push systemd-logs image#240testsabirweb wants to merge 2 commits intovmware-tanzu:mainfrom
testsabirweb wants to merge 2 commits intovmware-tanzu:mainfrom
Conversation
Adds .github/workflows/build-push.yaml which automates: - Building sonobuoy/systemd-logs (amd64) on every PR and push to main - Running Trivy vulnerability scanning (CRITICAL/HIGH) against the built image - Pushing multi-arch images (amd64, arm64, ppc64le, s390x) to Docker Hub on merges to main or tags, using the existing `make push` Makefile target Workflow is path-filtered to systemd-logs/** to avoid unnecessary runs. Fixes vmware-tanzu#178, addresses vmware-tanzu#236. Signed-off-by: Sabir Ali <sabir.ali@spectrocloud.com>
ARCH defaults to amd64 in the Makefile, so the explicit override is unnecessary. The intent (single-arch build for fast PR checks) is preserved by using build-container rather than container. Signed-off-by: Sabir Ali <sabir.ali@spectrocloud.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds .github/workflows/build-push.yaml which automates:
make pushMakefile targetWorkflow is path-filtered to systemd-logs/** to avoid unnecessary runs.
Fixes #178, addresses #236.