Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Re-implement parallel matrices#388

Closed
Gregory-Pereira wants to merge 1 commit intoinstructlab:mainfrom
Gregory-Pereira:streamline-release-images-workflow-v2
Closed

Re-implement parallel matrices#388
Gregory-Pereira wants to merge 1 commit intoinstructlab:mainfrom
Gregory-Pereira:streamline-release-images-workflow-v2

Conversation

@Gregory-Pereira
Copy link
Copy Markdown
Collaborator

Redo of #363, which got reverted in #387 .
The accessing separate env and secrets doesnt work for login, this needs to be refactored. Keeping as draft for now

@Gregory-Pereira Gregory-Pereira force-pushed the streamline-release-images-workflow-v2 branch from 91e8575 to 6a64674 Compare December 16, 2024 17:29
@Gregory-Pereira Gregory-Pereira marked this pull request as ready for review December 16, 2024 17:32
@Gregory-Pereira Gregory-Pereira changed the title WIP: re-implement parallel matrices Re-implement parallel matrices Dec 16, 2024
Signed-off-by: greg pereira <grpereir@redhat.com>
@Gregory-Pereira Gregory-Pereira force-pushed the streamline-release-images-workflow-v2 branch from 6a64674 to 804fdcc Compare December 16, 2024 17:40
@Gregory-Pereira
Copy link
Copy Markdown
Collaborator Author

Changes:

  • According to the docs, attestation and SBOM support is build directly into the docker/build-push-action for any version later than v4, thus we can remove our attestation steps.
  • Matrices implementation ONLY for images, and not registry auth. Each image will be built and pushed to both registries at once which should be optimized due to the caching

I want to keep the feature changes small to minimize disruptions. However when we have time I want to next investigate removing the caching step. This is because we are caching Docker layers using actions/cache@v4, but docker/build-push-action@v6 supports its own caching mechanism (type=gha). While this used to make sense for separate build steps, now that we have aggregated them, technically it shouldn't be needed.

@Gregory-Pereira Gregory-Pereira added the blocked Blocked by another task or pull request label Dec 16, 2024
@Gregory-Pereira Gregory-Pereira marked this pull request as draft December 16, 2024 20:18
@Gregory-Pereira
Copy link
Copy Markdown
Collaborator Author

/HOLD

Waiting for the Jan 9th release so we dont ruin our workflows. Can pick this up again then.

@bbrowning bbrowning closed this Feb 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

blocked Blocked by another task or pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants