Skip to content

chore(deps): update registry.suse.com/bci/dotnet-sdk docker tag to v8… #13

chore(deps): update registry.suse.com/bci/dotnet-sdk docker tag to v8…

chore(deps): update registry.suse.com/bci/dotnet-sdk docker tag to v8… #13

Workflow file for this run

name: Build image(s) on PR
on:
push:
paths:
- ci/images/Dockerfile.*
permissions: {}
jobs:
detect-changes:
if: github.repository == 'CycloneDX/cdxgen'
runs-on: ubuntu-24.04
outputs:
imagefiles: ${{ steps.changed.outputs.files }}
steps:
- name: Get changed files
id: changed
uses: actions/github-script@v7
with:
script: |
const response = await github.rest.repos.compareCommits({
owner: context.repo.owner,
repo: context.repo.repo,
base: context.payload.before,
head: context.payload.after
});
const files = response.data.files
.map(f => f.filename)
.filter(f => f.includes("Dockerfile"));
core.setOutput("files", JSON.stringify(files));
image:
if: github.repository == 'CycloneDX/cdxgen'
needs: detect-changes
strategy:
fail-fast: false
matrix:
imagefile: ${{ fromJson(needs.detect-changes.outputs.matrix) }}
runner: [ ubuntu-24.04, ubuntu-24.04-arm ]
include:
- runner: ubuntu-24.04
platform: linux/amd64
- runner: ubuntu-24.04-arm
platform: linux/arm64
runs-on: ${{ matrix.runner }}
steps:
- name: Build image
if: ${{ contains(matrix.imagefile, 'Dockerfile') }}
uses: ./.github/actions/build-docker-image
with:
dockerfile: ${{ matrix.imagefile }}
platforms: ${{ matrix.platform }}
target: cdxgen