next try
This commit is contained in:
parent
0d6187bd30
commit
08a5536690
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user