Skip to content

Commit 99c6e77

Browse files
committed
feat: refine base failure matrix
1 parent 704b073 commit 99c6e77

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/base.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,21 @@ permissions:
1414
packages: write
1515

1616
jobs:
17-
push:
17+
build_and_push:
1818
if: ${{ github.repository_owner == 'CubeCoders' && github.ref == 'refs/heads/master' }}
1919
name: 'amp:${{ matrix.base }}'
2020
runs-on: ubuntu-latest
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
base:
25-
- 'debian'
26-
- 'debian-12'
27-
- 'ubuntu'
24+
include:
25+
- base: 'debian'
26+
allow_failure: false
27+
- base: 'debian-12'
28+
allow_failure: true
29+
- base: 'ubuntu'
30+
allow_failure: true
31+
continue-on-error: ${{ matrix.allow_failure }}
2832

2933
steps:
3034
- uses: actions/checkout@v4
@@ -49,8 +53,12 @@ jobs:
4953
provenance: mode=max
5054
sbom: true
5155

56+
update_description:
57+
if: ${{ github.repository_owner == 'CubeCoders' && github.ref == 'refs/heads/master' && always() }}
58+
needs: [build_and_push]
59+
runs-on: ubuntu-latest
60+
steps:
5261
- uses: peter-evans/dockerhub-description@v4
53-
continue-on-error: true
5462
with:
5563
username: ${{ vars.DOCKERHUB_USERNAME }}
5664
password: ${{ secrets.DOCKERHUB_TOKEN }}

0 commit comments

Comments
 (0)