From 4f2a3ca6c92a4e112182f9e9ff0a64027ac53010 Mon Sep 17 00:00:00 2001 From: nain <126972030+nain-F49FF806@users.noreply.github.com> Date: Mon, 19 Feb 2024 18:36:39 +0100 Subject: [PATCH] feat: use matrix strategy to use build multiple images --- .github/workflows/multistage-docker-build-action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/multistage-docker-build-action.yml b/.github/workflows/multistage-docker-build-action.yml index 72169cb..4a57388 100644 --- a/.github/workflows/multistage-docker-build-action.yml +++ b/.github/workflows/multistage-docker-build-action.yml @@ -13,6 +13,9 @@ jobs: permissions: contents: read packages: write + strategy: + matrix: + release-distro: [fedora-oxidized.toolbox, ubuntu-oxidized.toolbox, arch-oxidized.toolbox] steps: - uses: actions/checkout@v2 @@ -35,5 +38,5 @@ jobs: dockerfile: Containerfile repository: ${{ env.IMAGE_REGISTRY }} stages: builder - server-stage: fedora-oxidized.toolbox + server-stage: ${{ matrix.release-distro }}