Actualiser .forgejo/workflows/deploy.yml
This commit is contained in:
parent
85c459edcb
commit
e52c35f368
1 changed files with 3 additions and 3 deletions
|
|
@ -31,9 +31,9 @@ jobs:
|
|||
args: |
|
||||
-c "
|
||||
# Nettoyer les retours à la ligne et les caractères spéciaux
|
||||
echo "$KUBECONFIG_DATA" &&
|
||||
echo "$KUBECONFIG_DATA" | base64 --decode &&
|
||||
echo "$KUBECONFIG_DATA" | base64 --decode > /tmp/kubeconfig.yaml &&
|
||||
cat <<EOF > /tmp/kubeconfig.yaml
|
||||
$KUBECONFIG_DATA
|
||||
EOF
|
||||
export KUBECONFIG=/tmp/kubeconfig.yaml &&
|
||||
kubectl set image deployment/homeassistant home-assistant=${IMAGE_NAME}:${GITHUB_REF_NAME} &&
|
||||
kubectl rollout status deployment/homeassistant
|
||||
|
|
|
|||
Loading…
Reference in a new issue