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 optional outputs override #25

Merged
merged 4 commits into from
Nov 13, 2024
Merged

add optional outputs override #25

merged 4 commits into from
Nov 13, 2024

Conversation

jgreat
Copy link
Contributor

@jgreat jgreat commented Nov 12, 2024

  • add docker build-push action raw output override option
  • add docker image digest as output
  • add action to merge various docker image digests into a manifest (tag) for multi-arch support.
  • add simple helper action for getting the "short" SHA tag of a release.

This is improvements to gh-actions for doing multi-arch builds.

Ends up the process is more complex than I was hoping. If you want to do multi-arch with discrete builders (not QEMU or cross compile) you need to first push the images without tags (just the sha256 digest), then you take all the digests and create a manifest that refences the digest and push that up do docker with a tag.

This improves the docker action to allow a raw output override so we can push the bare images and adds a docker-merge-digests action to create the manifest and push up the tag.

@jgreat jgreat marked this pull request as ready for review November 13, 2024 18:49
@jgreat jgreat merged commit 5a287f5 into main Nov 13, 2024
3 checks passed
@jgreat jgreat deleted the docker-outputs branch November 13, 2024 21:02
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.

2 participants