fix(deps): update dependency org.springframework.boot:spring-boot-sta… #87
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: kafka-spring-boot-integration-dsl | |
on: | |
push: | |
paths: | |
- "kafka-dsl-integration/**" | |
branches: [ main ] | |
pull_request: | |
paths: | |
- "kafka-dsl-integration/**" | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: "kafka-dsl-integration" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: graalvm/setup-graalvm@v1 | |
with: | |
java-version: '21' | |
distribution: 'graalvm' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
cache: 'maven' | |
native-image-job-reports: 'true' | |
- name: Printing versions | |
run: | | |
echo "GRAALVM_HOME: $GRAALVM_HOME" | |
echo "JAVA_HOME: $JAVA_HOME" | |
java --version | |
native-image --version | |
- name: Build with Maven | |
run: ./mvnw clean verify | |
- if: ${{ github.ref == 'refs/heads/main' }} | |
name: Build Image and push to docker | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | |
DOC_PASSCODE: ${{secrets.DOCKER_PASSCODE}} | |
DOC_USERNAME: ${{secrets.DOCKER_USERNAME}} | |
run: ./mvnw -Pnative spring-boot:build-image --file pom.xml |