ci: add DOCKER_HOST for DinD, use high-performance-latest tag
This commit is contained in:
parent
c0db2c149e
commit
a9f4ad3ed8
1 changed files with 6 additions and 2 deletions
|
|
@ -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" \
|
||||
.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue