diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b2d0b68..90531a2 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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 diff --git a/test.sh b/test.sh index 8019138..6ca08db 100755 --- a/test.sh +++ b/test.sh @@ -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