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

add ecr publish configuration #182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emattiza
Copy link

@emattiza emattiza commented Apr 3, 2023

Issue #, if available:
#141
Description of changes:
This makes modifications to support a publish workflow for this repo's docker image to public ECR and follows https://github.com/kubernetes-sigs/aws-ebs-csi-driver. This required modifying the Makefile to support multiarch building, the Dockerfile to support multiarch builds as well, and a provenance test script during the build process. These changes are then used in the new publish-ecr workflow copied from the aws-ebs-csi repo. The architectures supported are linux/arm64 and linux/amd64

make all-image-docker creates the necessary images for local development, and make build was refactored to use the local systems ARCH be used in the build process. This will keep compatibility with the existing make steps.

make all-push is used in the new workflow to push to the appropriate registry the manifest and images built with buildx

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@emattiza emattiza requested a review from a team as a code owner April 3, 2023 12:29
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.

None yet

2 participants