On my home server installed Gitea and Gitea action runner in docker. I created a pipeline for a java application, the code of which is placed in Gitea repository, the application is built without problems. Here is the pipeline code:
name: Gitea Action Maven build
`on:` ` push:` ` branches: ['testbranch']`
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: '3.9.9'
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'oracle'
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml
But now the questions - where can I find the assembled jar in Gitea? And how can I deploy and run the assembled application in docker on my home server?