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