-
-
Notifications
You must be signed in to change notification settings - Fork 5
28 lines (26 loc) · 698 Bytes
/
publish.yaml
File metadata and controls
28 lines (26 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: publish
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "git / checkout"
uses: actions/checkout@v6
- name: "docker / login"
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: "java / setup"
uses: actions/setup-java@v5
with:
check-latest: true
distribution: zulu
java-version: 23
- name: "gradle / setup"
uses: gradle/actions/setup-gradle@v5
- name: "gradle / build"
run: ./gradlew jib -Djib.console=plain --stacktrace