Set up Gradle Kotlin project with Ktor, Docker, and CI pipeline

This commit is contained in:
2026-02-11 15:17:05 +01:00
commit b1096d366a
17 changed files with 539 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
name: Zora Kotlin CI
on: [ push ]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'gradle'
- name: Login to Gitea Registry
uses: docker/login-action@v3
with:
registry: git.mo-code.at
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: git.mo-code.at/${{ secrets.REGISTRY_USER }}/zora-poc:latest