This commit is contained in:
25
.github/workflows/ci.yaml
vendored
Normal file
25
.github/workflows/ci.yaml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: CI
|
||||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Maven
|
||||
uses: s4u/setup-maven-action@v1.15.0
|
||||
with:
|
||||
java-version: '21'
|
||||
java-distribution: 'zulu'
|
||||
maven-version: '3.9.9'
|
||||
|
||||
- name: Build Runner
|
||||
run: mvn --no-transfer-progress package -Dnative
|
||||
|
||||
- name: Build Container
|
||||
run: docker build -f src/main/docker/Dockerfile.native-micro -t mythodea-api .
|
||||
|
||||
# - name: Deploy
|
||||
# run: "docker compose up -d"
|
||||
Reference in New Issue
Block a user