zora-poc/.gitea/workflows/deploy.yaml
Stefan Mogeritsch 0f9cc4a42c
All checks were successful
Zora Kotlin CI / build-and-push (push) Successful in 11m38s
Update deploy workflow to use JDK 25
2026-03-02 12:34:57 +01:00

30 lines
767 B
YAML

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 25
uses: actions/setup-java@v4
with:
java-version: '25'
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