Initial Commit
All checks were successful
CI / deploy (push) Successful in 4m12s

This commit is contained in:
Arindy
2024-10-22 20:53:00 +02:00
commit 948109cd96
14 changed files with 1066 additions and 0 deletions

26
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: CI
on: [ push ]
jobs:
deploy:
env:
REPO: ${{ github.event.repository.name }}
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 clean verify -Pnative -Dquarkus.native.remote-container-build=true
- name: Build Container
run: docker build -f src/main/docker/Dockerfile.native-micro -t ${{ env.REPO }} .
- name: Deploy
run: "docker compose up -d"