Strip sha256 hash
Validate and deploy Jellyfin / Validate manifests and scripts (push) Successful in 12s
Validate and deploy Jellyfin / Deploy to Kubernetes (push) Successful in 40s

This commit is contained in:
2026-10-14 20:19:23 +02:00
parent 4127b8429b
commit 9a28f4fefc
4 changed files with 5 additions and 9 deletions
-4
View File
@@ -32,10 +32,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
env:
+2 -2
View File
@@ -79,7 +79,7 @@ spec:
type: RuntimeDefault
initContainers:
- name: prepare
image: docker.io/library/alpine@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b
image: docker.io/library/alpine:3.24.1
imagePullPolicy: IfNotPresent
command:
- /tools/prepare.sh
@@ -106,7 +106,7 @@ spec:
readOnly: true
containers:
- name: jellyfin
image: docker.io/jellyfin/jellyfin@sha256:0b901391a662862eddb5dc55d244d7883cbb6236ef5b9a6ea82abc78a89819f0
image: docker.io/jellyfin/jellyfin:10.11.11
imagePullPolicy: IfNotPresent
env:
- name: TZ
+1 -1
View File
@@ -23,7 +23,7 @@ spec:
effect: NoSchedule
containers:
- name: copy
image: docker.io/library/alpine@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b
image: docker.io/library/alpine:3.24.1
imagePullPolicy: IfNotPresent
command:
- /bin/sh
+2 -2
View File
@@ -11,10 +11,10 @@ bash -n "${project_dir}/create-ci-kubeconfig.sh"
if command -v docker >/dev/null 2>&1 && docker info >/dev/null 2>&1; then
for manifest in namespace.yaml jellyfin.yaml migration-job.yaml; do
docker run --rm --interactive \
ghcr.io/yannh/kubeconform:v0.7.0@sha256:85dbef6b4b312b99133decc9c6fc9495e9fc5f92293d4ff3b7e1b30f5611823c \
ghcr.io/yannh/kubeconform:v0.7.0 \
-strict -ignore-missing-schemas -summary < "${project_dir}/${manifest}"
done
docker run --rm --interactive \
ghcr.io/yannh/kubeconform:v0.7.0@sha256:85dbef6b4b312b99133decc9c6fc9495e9fc5f92293d4ff3b7e1b30f5611823c \
ghcr.io/yannh/kubeconform:v0.7.0 \
-strict -summary < "${project_dir}/ci-deployer.yaml"
fi