Skip to content

Commit

Permalink
feat: use matrix strategy to use build multiple images
Browse files Browse the repository at this point in the history
  • Loading branch information
nain-F49FF806 committed Feb 19, 2024
1 parent 95452b4 commit 4f2a3ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/multistage-docker-build-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -35,5 +38,5 @@ jobs:
dockerfile: Containerfile
repository: ${{ env.IMAGE_REGISTRY }}
stages: builder
server-stage: fedora-oxidized.toolbox
server-stage: ${{ matrix.release-distro }}

0 comments on commit 4f2a3ca

Please sign in to comment.