Update dependency org.springframework.boot:spring-boot-starter-parent to v3.3.0 #148
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build and test | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
compliance: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read # for checkout | |
security-events: read # to get dependencies for compliance even on PRs | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Advance Security Policy as Code | |
uses: advanced-security/policy-as-code@v2.7.3 | |
with: | |
policy: it-at-m/policy-as-code | |
policy-path: default.yaml | |
token: ${{ secrets.GITHUB_TOKEN }} | |
argvs: "--disable-dependabot --disable-secret-scanning --disable-code-scanning --display" | |
build-maven: | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Inject slug/short variables | |
uses: rlespinasse/github-slug-action@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
cache: "maven" | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Extract metadata (tags, labels) for Docker | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
images: ghcr.io/${{ github.repository }} | |
tags: | | |
type=sha | |
type=ref,event=branch | |
- name: Build with Maven | |
env: | |
IMAGE_NAME: ghcr.io/${{ github.repository }} | |
IMAGE_RAW_TAGS: ${{ steps.meta.outputs.tags }} | |
REGISTRY_USER: ${{ github.repository_owner }} | |
REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
export IMAGE_TAGS="${IMAGE_RAW_TAGS//$'\n'/,}" | |
mvn -B -ntp -P build-image,publish verify |