Skip to content

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

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… #15

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.imagefiles) }}
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:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Build image
uses: ./.github/actions/build-docker-image
with:
dockerfile: ${{ matrix.imagefile }}
platforms: ${{ matrix.platform }}
target: cdxgen