Deploy multiple images in one go #972
Merged
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.
Deploy multiple images in one go by restructuring the GitHub workflow to handle xmtpd, xmtpd-cli, and xmtpd-prune image digests through artifacts instead of job outputs
The GitHub workflow for building xmtpd images changes from using job outputs to artifacts for passing image digests between jobs. The workflow now saves digests for xmtpd, xmtpd-cli, and xmtpd-prune images as individual artifacts, downloads them in the deploy job, validates all three digests, and deploys both xmtpd server and xmtpd-prune images to the testnet environment in .github/workflows/build-xmtpd.yml.
📍Where to Start
Start with the modified
push_to_registryjob in .github/workflows/build-xmtpd.yml to understand how image digests are now saved as artifacts instead of job outputs.Macroscope summarized e393b2e.