26 lines
482 B
YAML
26 lines
482 B
YAML
|
name: build and publish docker image / deploy
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: ["dev"]
|
||
|
pull_request:
|
||
|
branches: ["dev"]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
- name: Set up JDK 21
|
||
|
uses: actions/setup-java@v3
|
||
|
with:
|
||
|
java-version: "22"
|
||
|
distribution: "temurin"
|
||
|
cache: maven
|
||
|
- name: Build with Maven
|
||
|
run: mvn -Dtoken=${{secrets.usertoken }} clean compile jib:build -e
|
||
|
|
||
|
|
||
|
|