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

publish-image action #113

Merged
merged 3 commits into from
Oct 8, 2024
Merged

Conversation

brooksn
Copy link
Contributor

@brooksn brooksn commented Sep 11, 2024

  • use rancher/ecm-distro-tools/actions/publish-image to build and push images
  • adds make target push-image
  • adds sbom to docker build arguments
  • signs images that are pushed to the prime registry

Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
@brooksn brooksn marked this pull request as ready for review September 26, 2024 19:00
.PHONY: image-build
image-build:
docker build \
$(BUILD_OPTS) \
--pull \
Copy link
Contributor

Choose a reason for hiding this comment

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

I saw that in some repos we are using --pull and --load whereas in this one we only have --pull, could that be a problem?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should not cause any problems. The image-build make target is only used in local development, and I left the --pull option in place if it was already there.

Signed-off-by: Brooks Newberry <[email protected]>
@brooksn brooksn merged commit 13f8dd2 into rancher:master Oct 8, 2024
2 checks 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