attempting more pipeline changes for local cluster registries
Some checks failed
CI / Rustfmt (push) Successful in 57s
CI / Web Blocking Checks (push) Has been cancelled
CI / Security Blocking Checks (push) Has been cancelled
CI / Web Advisory Checks (push) Has been cancelled
CI / Security Advisory Checks (push) Has been cancelled
CI / Clippy (push) Has been cancelled
CI / Tests (push) Has been cancelled
CI / Cargo Audit & Deny (push) Has been cancelled
Publish Images And Chart / Resolve Publish Metadata (push) Successful in 1s
Publish Images And Chart / Publish init-packs (push) Failing after 14s
Publish Images And Chart / Publish migrations (push) Failing after 17s
Publish Images And Chart / Publish init-user (push) Failing after 35s
Publish Images And Chart / Publish sensor (push) Failing after 17s
Publish Images And Chart / Publish api (push) Failing after 15s
Publish Images And Chart / Publish web (push) Failing after 39s
Publish Images And Chart / Publish worker (push) Failing after 40s
Publish Images And Chart / Publish executor (push) Failing after 16s
Publish Images And Chart / Publish notifier (push) Failing after 38s
Publish Images And Chart / Publish Helm Chart (push) Has been skipped
Some checks failed
CI / Rustfmt (push) Successful in 57s
CI / Web Blocking Checks (push) Has been cancelled
CI / Security Blocking Checks (push) Has been cancelled
CI / Web Advisory Checks (push) Has been cancelled
CI / Security Advisory Checks (push) Has been cancelled
CI / Clippy (push) Has been cancelled
CI / Tests (push) Has been cancelled
CI / Cargo Audit & Deny (push) Has been cancelled
Publish Images And Chart / Resolve Publish Metadata (push) Successful in 1s
Publish Images And Chart / Publish init-packs (push) Failing after 14s
Publish Images And Chart / Publish migrations (push) Failing after 17s
Publish Images And Chart / Publish init-user (push) Failing after 35s
Publish Images And Chart / Publish sensor (push) Failing after 17s
Publish Images And Chart / Publish api (push) Failing after 15s
Publish Images And Chart / Publish web (push) Failing after 39s
Publish Images And Chart / Publish worker (push) Failing after 40s
Publish Images And Chart / Publish executor (push) Failing after 16s
Publish Images And Chart / Publish notifier (push) Failing after 38s
Publish Images And Chart / Publish Helm Chart (push) Has been skipped
This commit is contained in:
@@ -227,11 +227,11 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
image_names_csv=""
|
||||
build_cmd=(
|
||||
docker buildx build
|
||||
"${{ matrix.image.context }}"
|
||||
--file "${{ matrix.image.dockerfile }}"
|
||||
--push
|
||||
)
|
||||
|
||||
if [ -n "${{ matrix.image.target }}" ]; then
|
||||
@@ -239,13 +239,29 @@ jobs:
|
||||
fi
|
||||
|
||||
while IFS= read -r tag; do
|
||||
[ -n "$tag" ] && build_cmd+=(--tag "$tag")
|
||||
if [ -n "$tag" ]; then
|
||||
if [ -n "$image_names_csv" ]; then
|
||||
image_names_csv="${image_names_csv},${tag}"
|
||||
else
|
||||
image_names_csv="${tag}"
|
||||
fi
|
||||
|
||||
if [ "${{ needs.metadata.outputs.registry_plain_http }}" != "true" ]; then
|
||||
build_cmd+=(--tag "$tag")
|
||||
fi
|
||||
fi
|
||||
done <<< "${{ steps.tags.outputs.tags }}"
|
||||
|
||||
while IFS= read -r build_arg; do
|
||||
[ -n "$build_arg" ] && build_cmd+=(--build-arg "$build_arg")
|
||||
done <<< "${{ matrix.image.build_args }}"
|
||||
|
||||
if [ "${{ needs.metadata.outputs.registry_plain_http }}" = "true" ]; then
|
||||
build_cmd+=(--output "type=image,name=${image_names_csv},push=true,registry.insecure=true")
|
||||
else
|
||||
build_cmd+=(--push)
|
||||
fi
|
||||
|
||||
"${build_cmd[@]}"
|
||||
|
||||
publish-chart:
|
||||
|
||||
Reference in New Issue
Block a user