Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
fa50208978
|
|||
654ba5abf9
|
@ -15,7 +15,7 @@ steps:
|
|||||||
- event: [push, tag]
|
- event: [push, tag]
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: quay.io/wollud1969/k8s-admin-helper:0.1.2
|
image: quay.io/wollud1969/k8s-admin-helper:0.1.3
|
||||||
secrets:
|
secrets:
|
||||||
- source: kube_config
|
- source: kube_config
|
||||||
target: KUBE_CONFIG_CONTENT
|
target: KUBE_CONFIG_CONTENT
|
||||||
|
@ -15,6 +15,8 @@ DEPLOYMENT_DIR=$PWD/deployment
|
|||||||
|
|
||||||
pushd $DEPLOYMENT_DIR > /dev/null
|
pushd $DEPLOYMENT_DIR > /dev/null
|
||||||
SECRETS_FILE=`mktemp`
|
SECRETS_FILE=`mktemp`
|
||||||
|
pwd
|
||||||
|
id
|
||||||
gpg --decrypt --passphrase $GPG_PASSPHRASE --yes --batch --output $SECRETS_FILE secrets.asc
|
gpg --decrypt --passphrase $GPG_PASSPHRASE --yes --batch --output $SECRETS_FILE secrets.asc
|
||||||
. $SECRETS_FILE
|
. $SECRETS_FILE
|
||||||
rm $SECRETS_FILE
|
rm $SECRETS_FILE
|
||||||
|
Reference in New Issue
Block a user