split stable & edge builds, for parallelization & avoiding failures in one to prevent the other images to build

This commit is contained in:
El RIDO 2021-09-29 19:41:07 +02:00
parent bcedf56664
commit 76234b4a1e
2 changed files with 16 additions and 9 deletions

View file

@ -12,6 +12,11 @@ on:
jobs:
buildx:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image: [stable, edge]
name: Build images based on ${{ matrix.image }} Alpine release
steps:
- name: Checkout
uses: actions/checkout@v2
@ -27,4 +32,4 @@ jobs:
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: ./buildx.sh ${{ github.event_name }}
run: ./buildx.sh ${{ github.event_name }} ${{ matrix.image }}