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
|
cp -r .pip-cache /woodpecker/pip-cache 2>/dev/null || true
|
||||||
|
|
||||||
- name: build-service-image
|
- name: build-service-image
|
||||||
image: plugins/docker
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- test
|
||||||
environment:
|
|
||||||
DOCKER_BUILDKIT: 1
|
|
||||||
settings:
|
settings:
|
||||||
username: viktorbarzin
|
username: viktorbarzin
|
||||||
password:
|
password:
|
||||||
|
|
@ -45,17 +43,13 @@ steps:
|
||||||
build_args:
|
build_args:
|
||||||
- EXTRAS=api,news,sentiment,trading,backtester
|
- EXTRAS=api,news,sentiment,trading,backtester
|
||||||
- SERVICE_MODULE=api_gateway
|
- SERVICE_MODULE=api_gateway
|
||||||
cache_from:
|
|
||||||
- viktorbarzin/trading-bot-service:latest
|
|
||||||
tags:
|
tags:
|
||||||
- "build-${CI_PIPELINE_NUMBER}"
|
- "build-${CI_PIPELINE_NUMBER}"
|
||||||
|
|
||||||
- name: build-dashboard-image
|
- name: build-dashboard-image
|
||||||
image: plugins/docker
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- test
|
||||||
environment:
|
|
||||||
DOCKER_BUILDKIT: 1
|
|
||||||
settings:
|
settings:
|
||||||
username: viktorbarzin
|
username: viktorbarzin
|
||||||
password:
|
password:
|
||||||
|
|
@ -65,8 +59,6 @@ steps:
|
||||||
context: .
|
context: .
|
||||||
build_args:
|
build_args:
|
||||||
- NGINX_CONF=docker/nginx-k8s.conf
|
- NGINX_CONF=docker/nginx-k8s.conf
|
||||||
cache_from:
|
|
||||||
- viktorbarzin/trading-bot-dashboard:latest
|
|
||||||
tags:
|
tags:
|
||||||
- "build-${CI_PIPELINE_NUMBER}"
|
- "build-${CI_PIPELINE_NUMBER}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue