25 lines
597 B
YAML
25 lines
597 B
YAML
name: CI
|
|
on: [ push ]
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup JDK
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: '21'
|
|
|
|
- name: Build Runner
|
|
run: ./mvnw --no-transfer-progress package -Pnative -Dquarkus.native.remote-container-build=true
|
|
|
|
- name: Build Container
|
|
run: docker build -f src/main/docker/Dockerfile.native-micro -t mythodea-api .
|
|
|
|
# - name: Deploy
|
|
# run: "docker compose up -d"
|