ci: fix woodpecker yaml quoting in validate step
This commit is contained in:
parent
0d3751e7d8
commit
fd74ac565b
1 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ steps:
|
||||||
- test -n "${REGISTRY_HOSTPORT:-}" || (echo "missing REGISTRY_HOSTPORT" && exit 1)
|
- test -n "${REGISTRY_HOSTPORT:-}" || (echo "missing REGISTRY_HOSTPORT" && exit 1)
|
||||||
- test -n "${REGISTRY_USERNAME:-}" || (echo "missing REGISTRY_USERNAME" && exit 1)
|
- test -n "${REGISTRY_USERNAME:-}" || (echo "missing REGISTRY_USERNAME" && exit 1)
|
||||||
- test -n "${REGISTRY_PASSWORD:-}" || (echo "missing REGISTRY_PASSWORD" && exit 1)
|
- test -n "${REGISTRY_PASSWORD:-}" || (echo "missing REGISTRY_PASSWORD" && exit 1)
|
||||||
- test "${REGISTRY_HOSTPORT}" = "registry.nxtgauge.com" || (echo "REGISTRY_HOSTPORT must be registry.nxtgauge.com (got: ${REGISTRY_HOSTPORT})" && exit 1)
|
- 'test "${REGISTRY_HOSTPORT}" = "registry.nxtgauge.com" || (echo "REGISTRY_HOSTPORT must be registry.nxtgauge.com (got ${REGISTRY_HOSTPORT})" && exit 1)'
|
||||||
|
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
image: registry.nxtgauge.com/kaniko:2.1.1
|
image: registry.nxtgauge.com/kaniko:2.1.1
|
||||||
|
|
@ -77,7 +77,7 @@ steps:
|
||||||
- test -n "${REGISTRY_HOSTPORT:-}" || (echo "missing REGISTRY_HOSTPORT" && exit 1)
|
- test -n "${REGISTRY_HOSTPORT:-}" || (echo "missing REGISTRY_HOSTPORT" && exit 1)
|
||||||
- test -n "${REGISTRY_USERNAME:-}" || (echo "missing REGISTRY_USERNAME" && exit 1)
|
- test -n "${REGISTRY_USERNAME:-}" || (echo "missing REGISTRY_USERNAME" && exit 1)
|
||||||
- test -n "${REGISTRY_PASSWORD:-}" || (echo "missing REGISTRY_PASSWORD" && exit 1)
|
- test -n "${REGISTRY_PASSWORD:-}" || (echo "missing REGISTRY_PASSWORD" && exit 1)
|
||||||
- test "${REGISTRY_HOSTPORT}" = "registry.nxtgauge.com" || (echo "REGISTRY_HOSTPORT must be registry.nxtgauge.com (got: ${REGISTRY_HOSTPORT})" && exit 1)
|
- 'test "${REGISTRY_HOSTPORT}" = "registry.nxtgauge.com" || (echo "REGISTRY_HOSTPORT must be registry.nxtgauge.com (got ${REGISTRY_HOSTPORT})" && exit 1)'
|
||||||
|
|
||||||
- name: build-and-push-migrate
|
- name: build-and-push-migrate
|
||||||
image: registry.nxtgauge.com/kaniko:2.1.1
|
image: registry.nxtgauge.com/kaniko:2.1.1
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue