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

Use a build matrix for Docker workflows #108

Merged
merged 2 commits into from
Jul 30, 2022
Merged

Conversation

okiedork
Copy link
Contributor

@okiedork okiedork commented Jul 29, 2022

Hi 👋

In this PR I've made two changes:

1. Added a build matrix to Docker builds

I had to change nginx.Dockerfile in order to accommodate the build target argument. The matrix is built with configuration expansion (doc).

2. Split the workflow in two

This is a revert of 65a5997, because we don't want to trigger the release/deploy task for all matrix configurations. The job will run only once, after all builds are completed with success.


You can check an example of the workflow in this manually triggered run: https://github.com/package-health/php/actions/runs/2762273790

@okiedork okiedork self-assigned this Jul 29, 2022
We don't need to trigger the release/deploy job for each
matrix execution. It must be triggered only once when
all builds have finished.
@okiedork okiedork marked this pull request as ready for review July 29, 2022 17:33
@okiedork okiedork merged commit ceaccf1 into develop Jul 30, 2022
@okiedork okiedork deleted the improv/workflows-matrix branch July 30, 2022 11:09
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