ci: add DOCKER_HOST for DinD, use main-latest tag
This commit is contained in:
parent
2c8b19691d
commit
008168c069
1 changed files with 5 additions and 1 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
|
||||
|
|
@ -27,5 +31,5 @@ jobs:
|
|||
docker buildx build --push \
|
||||
-f Dockerfile \
|
||||
-t "${{ secrets.REGISTRY_HOSTPORT }}/nxtgauge-ai-assistant:${{ gitea.sha }}" \
|
||||
-t "${{ secrets.REGISTRY_HOSTPORT }}/nxtgauge-ai-assistant:${{ gitea.ref }}-latest" \
|
||||
-t "${{ secrets.REGISTRY_HOSTPORT }}/nxtgauge-ai-assistant:main-latest" \
|
||||
.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue