Skip to content

Commit 6bed652

Browse files
authored
[build] Extracted the rolling image into its own workflow (#1786)
Extracted the rolling image into its own workflow, so it doesn't abort the other builds when it fails Signed-off-by: Roland Asmann <[email protected]>
1 parent 8d1c29c commit 6bed652

File tree

2 files changed

+35
-7
lines changed

2 files changed

+35
-7
lines changed

.github/workflows/build-base-images.yml renamed to .github/workflows/build-images.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,6 @@ jobs:
113113
cdxgen-image:
114114
additional-image: cdxgen-debian-swift
115115

116-
- lang: rolling
117-
distro: opensuse
118-
base-image:
119-
lang: lang
120-
cdxgen-image:
121-
skip-tags: true
122-
123116
permissions:
124117
contents: read
125118
packages: write
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build rolling image
2+
3+
on:
4+
schedule:
5+
- cron: "0 8 * * *"
6+
push:
7+
branches:
8+
- master
9+
tags:
10+
- 'v*'
11+
workflow_dispatch:
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
image:
19+
if: github.repository == 'CycloneDX/cdxgen'
20+
permissions:
21+
contents: read
22+
packages: write
23+
uses: ./.github/workflows/image-build.yml
24+
with:
25+
image: |
26+
image: {
27+
"lang": "rolling",
28+
"distro": "opensuse",
29+
"base-image": {
30+
"lang": "lang"
31+
},
32+
"cdxgen-image": {
33+
"skip-tags": true
34+
}
35+
}

0 commit comments

Comments
 (0)