Fix containerized Kubernetes deployment
This commit is contained in:
@@ -5,6 +5,8 @@ on:
|
||||
|
||||
env:
|
||||
IMAGE: registry.brunner.ninja/feedc0de/immich-sync
|
||||
KUBERNETES_API: https://host.containers.internal:6443
|
||||
KUBERNETES_TLS_SERVER_NAME: 192.168.0.2
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
@@ -73,6 +75,10 @@ jobs:
|
||||
test -n "${KUBE_CONFIG_BASE64}"
|
||||
printf '%s' "${KUBE_CONFIG_BASE64}" | base64 --decode > "${RUNNER_TEMP}/kubeconfig"
|
||||
chmod 0600 "${RUNNER_TEMP}/kubeconfig"
|
||||
export KUBECONFIG="${RUNNER_TEMP}/kubeconfig"
|
||||
"${RUNNER_TEMP}/kubectl" config set-cluster cluster \
|
||||
--server="${KUBERNETES_API}" \
|
||||
--tls-server-name="${KUBERNETES_TLS_SERVER_NAME}"
|
||||
|
||||
- name: Deploy commit image
|
||||
env:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.28)
|
||||
|
||||
project(immich-sync VERSION 0.1.0 LANGUAGES CXX)
|
||||
project(immich-sync VERSION 0.1.1 LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
Reference in New Issue
Block a user