ci: add DOCKER_HOST for DinD, use high-performance-latest tag

This commit is contained in:
Tracewebstudio Dev 2026-04-19 18:10:20 +02:00
parent c0db2c149e
commit a9f4ad3ed8

View file

@ -6,6 +6,10 @@ on:
- main
- high-performance
env:
DOCKER_HOST: tcp://docker-dind.gitea.svc.cluster.local:2375
DOCKER_TLS_CERTDIR: ""
jobs:
build:
runs-on: ubuntu-latest
@ -52,7 +56,7 @@ jobs:
-f Dockerfile.simple \
--build-arg SERVICE_NAME=${{ matrix.service }} \
-t "${{ secrets.REGISTRY_HOSTPORT }}/nxtgauge-rust-${{ matrix.service }}:${{ gitea.sha }}" \
-t "${{ secrets.REGISTRY_HOSTPORT }}/nxtgauge-rust-${{ matrix.service }}:${{ gitea.ref }}-latest" \
-t "${{ secrets.REGISTRY_HOSTPORT }}/nxtgauge-rust-${{ matrix.service }}:high-performance-latest" \
.
migrate:
@ -75,5 +79,5 @@ jobs:
docker buildx build --push \
-f Dockerfile.migrate \
-t "${{ secrets.REGISTRY_HOSTPORT }}/nxtgauge-db-migrate:${{ gitea.sha }}" \
-t "${{ secrets.REGISTRY_HOSTPORT }}/nxtgauge-db-migrate:${{ gitea.ref }}-latest" \
-t "${{ secrets.REGISTRY_HOSTPORT }}/nxtgauge-db-migrate:high-performance-latest" \
.