Skip to content

Commit 9dfdeee

Browse files
renovate[bot]malice00
authored andcommitted
chore(deps): update registry.suse.com/bci/dotnet-sdk docker tag to v8.0.21
1 parent 929636d commit 9dfdeee

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

.github/workflows/build-image.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,42 @@
11
name: Build image(s) on PR
22

33
on:
4-
pull_request:
4+
push:
55
paths:
66
- ci/images/Dockerfile.*
77

88
permissions: {}
99

1010
jobs:
11+
detect-changes:
12+
if: github.repository == 'CycloneDX/cdxgen'
13+
runs-on: ubuntu-24.04
14+
outputs:
15+
imagefiles: ${{ steps.changed.outputs.files }}
16+
steps:
17+
- name: Get changed files
18+
id: changed
19+
uses: actions/github-script@v7
20+
with:
21+
script: |
22+
const response = await github.rest.repos.compareCommits({
23+
owner: context.repo.owner,
24+
repo: context.repo.repo,
25+
base: context.payload.before,
26+
head: context.payload.after
27+
});
28+
const files = response.data.files
29+
.map(f => f.filename)
30+
.filter(f => f.includes("Dockerfile"));
31+
core.setOutput("files", JSON.stringify(files));
1132
image:
1233
if: github.repository == 'CycloneDX/cdxgen'
34+
needs: detect-changes
1335
strategy:
1436
fail-fast: false
1537
matrix:
16-
imagefile: ${{ github.event.head_commit.modified }}
17-
runner: [ubuntu-24.04, ubuntu-24.04-arm]
38+
imagefile: ${{ fromJson(needs.detect-changes.outputs.matrix) }}
39+
runner: [ ubuntu-24.04, ubuntu-24.04-arm ]
1840
include:
1941
- runner: ubuntu-24.04
2042
platform: linux/amd64

ci/images/Dockerfile.dotnet8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Base-image
2-
FROM registry.suse.com/bci/dotnet-sdk:8.0.20@sha256:255e01937ff1b7626e75ec87cf17a60b8e86437fb123f66e2c2f9c672bcd9309 AS base
2+
FROM registry.suse.com/bci/dotnet-sdk:8.0.21@sha256:980f77d6eb57252d9d486651f22aa4674a476c5a3b2dfd35b8322fb4c008cda6 AS base
33

44
ARG GITHUB_URL=https://github.com
55
ARG NODEJS_DIST_URL

0 commit comments

Comments
 (0)