Skip to content

Commit

Permalink
feat: separate builds with matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
virtualroot committed Jul 27, 2023
1 parent 00083ce commit 567b773
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
release:
runs-on: ubuntu-latest

strategy:
matrix:
image: ['alpine', 'debian', 'ubuntu']

steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -28,8 +32,5 @@ jobs:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v4
with:
push: false
tags: user/app:latest
- name: Build Docker Image
run: docker buildx bake ${{matrix.image}}

0 comments on commit 567b773

Please sign in to comment.