fix(ci): attach buildx to dind daemon
This commit is contained in:
parent
0d59e347f2
commit
9dd3449105
1 changed files with 10 additions and 0 deletions
|
|
@ -2,6 +2,13 @@ when:
|
||||||
branch: [main, high-performance]
|
branch: [main, high-performance]
|
||||||
event: push
|
event: push
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: docker
|
||||||
|
image: docker:24-dind
|
||||||
|
privileged: true
|
||||||
|
environment:
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
SERVICE:
|
SERVICE:
|
||||||
- gateway
|
- gateway
|
||||||
|
|
@ -26,6 +33,9 @@ matrix:
|
||||||
steps:
|
steps:
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
image: woodpeckerci/plugin-docker-buildx:5.0.0
|
image: woodpeckerci/plugin-docker-buildx:5.0.0
|
||||||
|
environment:
|
||||||
|
DOCKER_HOST: tcp://docker:2375
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
settings:
|
settings:
|
||||||
insecure: true
|
insecure: true
|
||||||
registry: docker-registry.registry.svc.cluster.local:5000
|
registry: docker-registry.registry.svc.cluster.local:5000
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue