Merge pull request #66 from halkyonio/dependabot/maven/quarkus.platfo… #58
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: Fruits App Push Build | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: build with jdk | |
steps: | |
- uses: actions/checkout@v4 | |
name: checkout | |
- uses: actions/setup-java@v4 | |
name: set up jdk 17 | |
with: | |
distribution: temurin | |
java-version: 17 | |
cache: maven | |
- name: build with maven | |
run: mvn clean install | |
- name: Quay.io Login | |
run: docker login quay.io -u="${{secrets.QUAY_USER}}" -p="${{secrets.QUAY_TOKEN}}" | |
- name: Push | |
run: mvn clean install -DskipTests -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true -Dquarkus.container-image.registry=quay.io -Dquarkus.container-image.group=halkyonio -Dquarkus.container-image.tag=latest | |
- name: Repository Dispatch | |
uses: peter-evans/repository-dispatch@v3 | |
with: | |
token: ${{ secrets.REPO_TOKEN }} | |
repository: halkyonio/helm-charts | |
event-type: update_charts |