2005
b0e8c7c06c
Some checks failed
build and publish docker image / deploy / build (push) Failing after 53s
33 lines
733 B
YAML
33 lines
733 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/oracle-actions/setup-java@v1
|
|
with:
|
|
website: oracle.com
|
|
release: 22
|
|
version: 17.0.10
|
|
- name: "Setup maven"
|
|
uses: https://github.com/s4u/setup-maven-action@v1.13.0
|
|
- name: Build with Maven
|
|
run: mvn -Dtoken=${{ secrets.token }} clean compile jib:build -e
|
|
|
|
|
|
|