fix(ci): switch to kaniko for http local registry push
This commit is contained in:
parent
0135abb3f8
commit
6510e52d46
1 changed files with 5 additions and 9 deletions
|
|
@ -25,9 +25,8 @@ matrix:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
image: woodpeckerci/plugin-docker-buildx:5.0.0
|
image: woodpeckerci/plugin-kaniko:2.1.1
|
||||||
settings:
|
settings:
|
||||||
insecure: true
|
|
||||||
registry: docker-registry.registry.svc.cluster.local:5000
|
registry: docker-registry.registry.svc.cluster.local:5000
|
||||||
repo: docker-registry.registry.svc.cluster.local:5000/nxtgauge-rust-${SERVICE}
|
repo: docker-registry.registry.svc.cluster.local:5000/nxtgauge-rust-${SERVICE}
|
||||||
dockerfile: Dockerfile.simple
|
dockerfile: Dockerfile.simple
|
||||||
|
|
@ -37,15 +36,12 @@ steps:
|
||||||
- ${CI_COMMIT_SHA}
|
- ${CI_COMMIT_SHA}
|
||||||
- latest
|
- latest
|
||||||
- high-performance-latest
|
- high-performance-latest
|
||||||
logins:
|
|
||||||
- registry: docker-registry.registry.svc.cluster.local:5000
|
|
||||||
username:
|
|
||||||
from_secret: REGISTRY_USERNAME
|
|
||||||
password:
|
|
||||||
from_secret: REGISTRY_PASSWORD
|
|
||||||
username:
|
username:
|
||||||
from_secret: REGISTRY_USERNAME
|
from_secret: REGISTRY_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: REGISTRY_PASSWORD
|
from_secret: REGISTRY_PASSWORD
|
||||||
|
insecure: true
|
||||||
|
insecure_pull: true
|
||||||
|
skip_tls_verify: true
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
no_cache: true
|
cache: false
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue