Skip to content

Bump org.cyclonedx:cyclonedx-core-java from 11.0.0 to 11.0.1 #204

Bump org.cyclonedx:cyclonedx-core-java from 11.0.0 to 11.0.1

Bump org.cyclonedx:cyclonedx-core-java from 11.0.0 to 11.0.1 #204

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions: { }
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
- name: Set up Java
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # tag=v4.7.1
with:
java-version: "21"
distribution: "temurin"
cache: "maven"
- name: Test
run: mvn -B --no-transfer-progress clean verify
publish-snapshot:
name: Build Snapshot
if: ${{ github.ref_name == 'main' }}
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
packages: write # Required to push images to ghcr.io
needs:
- test
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
- name: Set up Java
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # tag=v4.7.1
with:
java-version: "21"
distribution: "temurin"
cache: "maven"
- name: Build
run: mvn -B --no-transfer-progress clean package -DskipTests
- name: Set up QEMU
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # tag=v3.6.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # tag=v3.10.0
id: buildx
with:
install: true
- name: Login to GitHub Container Registry
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # tag=v3.4.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Determine Container Repository
id: determine-container-repo
run: |
# Repository must name must be lowercase.
echo "repo=${GITHUB_REPOSITORY,,}" >> $GITHUB_OUTPUT
- name: Build and Push Container Image
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # tag=v6.18.0
with:
tags: ghcr.io/${{ steps.determine-container-repo.outputs.repo }}:snapshot
platforms: linux/amd64,linux/arm64
push: true
context: .
file: src/main/docker/Dockerfile