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

workflows: build image in parallel #2361

Merged
merged 2 commits into from
Jul 7, 2022

Conversation

waeltken
Copy link
Contributor

@waeltken waeltken commented Jul 4, 2022

Change the build job for the docker image to use the matrix jobs feature, speeding up the image creation.

https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs

@waeltken waeltken requested a review from a team as a code owner July 4, 2022 15:34
@waeltken waeltken marked this pull request as draft July 4, 2022 15:46
@waeltken
Copy link
Contributor Author

waeltken commented Jul 4, 2022

The git push does not release the image for all 3 platforms but overwrites them in the GitHub container registry.

@jamengual
Copy link
Contributor

@chenrui333 FYI

@chenrui333 chenrui333 marked this pull request as ready for review July 5, 2022 20:36
@chenrui333
Copy link
Member

This is a good improvement. Thanks @waeltken!

@chenrui333
Copy link
Member

need to also apply the matrix builds into other workflows as well.

@chenrui333 chenrui333 changed the title Enable GitHub matrix strategy to run image builds in parallel workflows: build image in parallel Jul 7, 2022
Signed-off-by: Rui Chen <rui@chenrui.dev>
@chenrui333 chenrui333 merged commit 8c0ca6b into runatlantis:master Jul 7, 2022
chenrui333 added a commit that referenced this pull request Jul 8, 2022
chenrui333 added a commit that referenced this pull request Jul 8, 2022
krrrr38 pushed a commit to krrrr38/atlantis that referenced this pull request Dec 16, 2022
* Enable GitHub matrix strategy to run builds in parallel

* apply matrix build for the other images

Signed-off-by: Rui Chen <rui@chenrui.dev>

Co-authored-by: Rui Chen <rui@chenrui.dev>
krrrr38 pushed a commit to krrrr38/atlantis that referenced this pull request Dec 16, 2022
@nitrocode nitrocode added this to the v0.19.5 milestone Mar 23, 2023
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.

4 participants