This commit is contained in:
26
.github/workflows/ci.yaml
vendored
Normal file
26
.github/workflows/ci.yaml
vendored
Normal 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"
|
||||
Reference in New Issue
Block a user