Strip sha256 hash
Validate and deploy Quay / Validate manifest (push) Successful in 13s
Validate and deploy Quay / Downtime deployment (push) Successful in 34s

This commit is contained in:
2026-10-14 20:13:18 +02:00
parent 0a41c12f45
commit 8ff1855a7c
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -35,10 +35,6 @@ jobs:
curl --fail --silent --show-error --location \
--output "${RUNNER_TEMP}/kubectl" \
"https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl"
curl --fail --silent --show-error --location \
--output "${RUNNER_TEMP}/kubectl.sha256" \
"https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl.sha256"
printf '%s %s\n' "$(cat "${RUNNER_TEMP}/kubectl.sha256")" "${RUNNER_TEMP}/kubectl" | sha256sum --check
chmod 0700 "${RUNNER_TEMP}/kubectl"
- name: Configure Kubernetes access
+1 -1
View File
@@ -29,7 +29,7 @@ validate_file() {
kubeconform -strict -summary "$@" "${manifest}"
elif command -v docker >/dev/null 2>&1; then
docker run --rm --interactive \
ghcr.io/yannh/kubeconform:v0.7.0@sha256:85dbef6b4b312b99133decc9c6fc9495e9fc5f92293d4ff3b7e1b30f5611823c \
ghcr.io/yannh/kubeconform:v0.7.0 \
-strict -summary "$@" < "${manifest}"
else
echo "Required command not found: install kubeconform or Docker" >&2