From cab7ec34d2ef130877e834b54bdd1263975502bc Mon Sep 17 00:00:00 2001 From: Arindy Date: Tue, 11 Feb 2025 23:01:24 +0100 Subject: [PATCH] push to packages --- .github/workflows/ci.yaml | 9 ++++++++- compose.yml | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 45cb98f..2dc71ad 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,6 +25,11 @@ jobs: run: | ./mvnw -B --no-transfer-progress versions:set -DremoveSnapshot + - name: docker login + run: | + docker login git.arindy.de + + - name: Build Runner run: | ./mvnw -B --no-transfer-progress clean verify -Pnative -Dquarkus.native.remote-container-build=true -Djgitver.skip=true @@ -45,7 +50,9 @@ jobs: - name: Build Container if: github.ref_name == 'main' - run: docker build -f src/main/docker/Dockerfile.native-micro -t ${{ env.REPO }} . + run: | + 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 }} - name: Deploy if: github.ref_name == 'main' diff --git a/compose.yml b/compose.yml index d9c1c8a..2403b5f 100644 --- a/compose.yml +++ b/compose.yml @@ -1,7 +1,7 @@ services: api: container_name: dice-tower - image: dice-tower + image: git.arindy.de/arindy/dice-tower:latest restart: always networks: - reverse_proxy