put the authentication on the pod but not the dockerfile
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 13m8s

This commit is contained in:
2024-10-25 10:44:03 +01:00
parent c5bf712f35
commit 0bcf765c4c
-5
View File
@@ -10,7 +10,6 @@ metadata:
namespace: bwbackup
spec:
containers:
# - image: localhost:31795/bitwarden_cli
- image: gitea.tryton.geeraert.eu/pi-ux-ce/bitwarden_cli:1.0.1
command:
- /bin/sh
@@ -18,10 +17,6 @@ spec:
- "bw config server https://bitwarden.tryton.geeraert.eu/"
- "export BW_key=$(bw login valvankart@orange.fr Impreza555 --raw)"
- "sleep 3600"
# - "apt update && apt install -y curl unzip libsecret-1-0 jq"
# - "export VER=$(curl -H "Accept: application/vnd.github+json" https://api.github.com/repos/bitwarden/clients/releases | jq -r .[4].name | sed 's:.*v::') && curl -LO "https://github.com/bitwarden/clients/releases/download/cli-v{$VER}/bw-linux-{$VER}.zip" && unzip bw-linux-*.zip && chmod +x ./bw "
# - "mv /bw /usr/local/bin"
# - "sleep 3600"
volumeMounts:
- name: scripts
mountPath: /config