fix: use explicit registry.nxtgauge.com:5000 with REGISTRY_* secrets
This commit is contained in:
parent
c5b097d20c
commit
4d6de951bf
1 changed files with 6 additions and 8 deletions
|
|
@ -38,8 +38,7 @@ steps:
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
image: woodpeckerci/plugin-kaniko:2.1.1
|
image: woodpeckerci/plugin-kaniko:2.1.1
|
||||||
settings:
|
settings:
|
||||||
registry:
|
registry: registry.nxtgauge.com:5000
|
||||||
from_secret: REGISTRY_HOSTPORT
|
|
||||||
repo: nxtgauge-rust-${SERVICE}
|
repo: nxtgauge-rust-${SERVICE}
|
||||||
dockerfile: Dockerfile.simple
|
dockerfile: Dockerfile.simple
|
||||||
build_args:
|
build_args:
|
||||||
|
|
@ -49,9 +48,9 @@ steps:
|
||||||
- latest
|
- latest
|
||||||
- high-performance-latest
|
- high-performance-latest
|
||||||
username:
|
username:
|
||||||
from_secret: GHCR_USERNAME
|
from_secret: REGISTRY_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: GHCR_TOKEN
|
from_secret: REGISTRY_PASSWORD
|
||||||
insecure: true
|
insecure: true
|
||||||
insecure_pull: true
|
insecure_pull: true
|
||||||
skip_tls_verify: true
|
skip_tls_verify: true
|
||||||
|
|
@ -103,8 +102,7 @@ steps:
|
||||||
- name: build-and-push-migrate
|
- name: build-and-push-migrate
|
||||||
image: woodpeckerci/plugin-kaniko:2.1.1
|
image: woodpeckerci/plugin-kaniko:2.1.1
|
||||||
settings:
|
settings:
|
||||||
registry:
|
registry: registry.nxtgauge.com:5000
|
||||||
from_secret: REGISTRY_HOSTPORT
|
|
||||||
repo: nxtgauge-db-migrate
|
repo: nxtgauge-db-migrate
|
||||||
dockerfile: Dockerfile.migrate
|
dockerfile: Dockerfile.migrate
|
||||||
context: .
|
context: .
|
||||||
|
|
@ -113,9 +111,9 @@ steps:
|
||||||
- latest
|
- latest
|
||||||
- high-performance-latest
|
- high-performance-latest
|
||||||
username:
|
username:
|
||||||
from_secret: GHCR_USERNAME
|
from_secret: REGISTRY_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: GHCR_TOKEN
|
from_secret: REGISTRY_PASSWORD
|
||||||
insecure: true
|
insecure: true
|
||||||
insecure_pull: true
|
insecure_pull: true
|
||||||
skip_tls_verify: true
|
skip_tls_verify: true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue