fix: use woodpeckerci/plugin-docker-buildx for privileged builds
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
plugins/docker does not get privileged: true in K8s pods despite being in WOODPECKER_PLUGINS_PRIVILEGED. woodpeckerci/plugin-docker-buildx correctly receives privileged mode. Previous build failure with buildx was a transient network timeout reaching registry-1.docker.io.
This commit is contained in:
parent
d084dad021
commit
792776bfe0
1 changed files with 2 additions and 10 deletions
|
|
@ -30,11 +30,9 @@ steps:
|
|||
cp -r .pip-cache /woodpecker/pip-cache 2>/dev/null || true
|
||||
|
||||
- name: build-service-image
|
||||
image: plugins/docker
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
depends_on:
|
||||
- test
|
||||
environment:
|
||||
DOCKER_BUILDKIT: 1
|
||||
settings:
|
||||
username: viktorbarzin
|
||||
password:
|
||||
|
|
@ -45,17 +43,13 @@ steps:
|
|||
build_args:
|
||||
- EXTRAS=api,news,sentiment,trading,backtester
|
||||
- SERVICE_MODULE=api_gateway
|
||||
cache_from:
|
||||
- viktorbarzin/trading-bot-service:latest
|
||||
tags:
|
||||
- "build-${CI_PIPELINE_NUMBER}"
|
||||
|
||||
- name: build-dashboard-image
|
||||
image: plugins/docker
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
depends_on:
|
||||
- test
|
||||
environment:
|
||||
DOCKER_BUILDKIT: 1
|
||||
settings:
|
||||
username: viktorbarzin
|
||||
password:
|
||||
|
|
@ -65,8 +59,6 @@ steps:
|
|||
context: .
|
||||
build_args:
|
||||
- NGINX_CONF=docker/nginx-k8s.conf
|
||||
cache_from:
|
||||
- viktorbarzin/trading-bot-dashboard:latest
|
||||
tags:
|
||||
- "build-${CI_PIPELINE_NUMBER}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue