next try
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Wolfgang Hottgenroth 2025-01-22 17:11:48 +01:00
parent 0d6187bd30
commit 08a5536690
Signed by: wn
GPG Key ID: 18FDFA577A8871AD
2 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,6 @@ steps:
from_secret: kube_config
GPG_PASSPHRASE:
from_secret: gpg_passphrase
HOME: /home/user
commands:
- export IMAGE_TAG=$CI_COMMIT_TAG
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig

View File

@ -18,7 +18,7 @@ SECRETS_FILE=`mktemp`
pwd
id
echo $HOME
gpg --decrypt --passphrase $GPG_PASSPHRASE --yes --batch --output $SECRETS_FILE secrets.asc
gpg --decrypt --passphrase $GPG_PASSPHRASE --yes --batch --homedir /tmp/.gnupg --output $SECRETS_FILE secrets.asc
. $SECRETS_FILE
rm $SECRETS_FILE