2005
1c7feef7db
Some checks failed
build and publish docker image / deploy / build (push) Failing after 1m35s
added maven back, but different thistime
34 lines
706 B
YAML
34 lines
706 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: https://github.com/actions/checkout@v4
|
|
with:
|
|
repository: 'learningpulse/server'
|
|
ref: 'dev'
|
|
token: '${{ secrets.token }}'
|
|
- name: 'Set up java 22'
|
|
uses: https://github.com/actions/setup-java@v3
|
|
with:
|
|
java-version: "22"
|
|
distribution: "temurin"
|
|
|
|
- name: "Setup maven"
|
|
uses: https://github.com/stCarolas/setup-maven@v5
|
|
|
|
- name: Build with Maven
|
|
run: mvn -Dtoken=${{ secrets.token }} clean compile jib:build -e
|
|
|
|
|
|
|