push to packages
This commit is contained in:
parent
cab7ec34d2
commit
24acc0b942
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
@ -25,11 +25,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./mvnw -B --no-transfer-progress versions:set -DremoveSnapshot
|
./mvnw -B --no-transfer-progress versions:set -DremoveSnapshot
|
||||||
|
|
||||||
- name: docker login
|
|
||||||
run: |
|
|
||||||
docker login git.arindy.de
|
|
||||||
|
|
||||||
|
|
||||||
- name: Build Runner
|
- name: Build Runner
|
||||||
run: |
|
run: |
|
||||||
./mvnw -B --no-transfer-progress clean verify -Pnative -Dquarkus.native.remote-container-build=true -Djgitver.skip=true
|
./mvnw -B --no-transfer-progress clean verify -Pnative -Dquarkus.native.remote-container-build=true -Djgitver.skip=true
|
||||||
@ -51,8 +46,10 @@ jobs:
|
|||||||
- name: Build Container
|
- name: Build Container
|
||||||
if: github.ref_name == 'main'
|
if: github.ref_name == 'main'
|
||||||
run: |
|
run: |
|
||||||
|
echo ${{secrets.PACKAGES_TOKEN}} | docker login --username ${{ secrets.PACKAGES_USER }} --password-stdin git.arindy.de
|
||||||
docker build -f src/main/docker/Dockerfile.native-micro -t git.arindy.de/arindy/dice-tower:latest -t git.arindy.de/arindy/dice-tower:${{ steps.version.outputs.VERSION }} .
|
docker build -f src/main/docker/Dockerfile.native-micro -t git.arindy.de/arindy/dice-tower:latest -t git.arindy.de/arindy/dice-tower:${{ steps.version.outputs.VERSION }} .
|
||||||
docker push git.arindy.de/arindy/dice-tower:${{ steps.version.outputs.VERSION }}
|
docker push git.arindy.de/arindy/dice-tower:${{ steps.version.outputs.VERSION }}
|
||||||
|
docker push git.arindy.de/arindy/dice-tower:latest
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
if: github.ref_name == 'main'
|
if: github.ref_name == 'main'
|
||||||
|
25
README.md
25
README.md
@ -6,7 +6,8 @@
|
|||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="#key-features">Key Features</a> •
|
<a href="#key-features">Key Features</a> •
|
||||||
<a href="#how-to-build">How To Build</a> •
|
<a href="#start-container">Start Container</a> •
|
||||||
|
<a href="#how-to-build-from-scratch">How To Build from scratch</a> •
|
||||||
<a href="#credits">Credits</a> •
|
<a href="#credits">Credits</a> •
|
||||||
<a href="#license">License</a>
|
<a href="#license">License</a>
|
||||||
</p>
|
</p>
|
||||||
@ -24,8 +25,28 @@
|
|||||||
* Watch roll results (also available as Browser Source in OBS)
|
* Watch roll results (also available as Browser Source in OBS)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
## Start Container
|
||||||
|
|
||||||
## How To Build
|
You can start dice-tower with docker compose
|
||||||
|
|
||||||
|
Create a `compose.yml`-File with following content:
|
||||||
|
```yaml
|
||||||
|
services:
|
||||||
|
api:
|
||||||
|
container_name: dice-tower
|
||||||
|
image: git.arindy.de/arindy/dice-tower:latest
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
|
```
|
||||||
|
Run the container with:
|
||||||
|
```bash
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## How To Build from scratch
|
||||||
|
|
||||||
To clone and run this application, you'll need `git`, `java21` and `docker`.
|
To clone and run this application, you'll need `git`, `java21` and `docker`.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user