Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
654ba5abf9
|
|||
55803d3a5c
|
@ -25,6 +25,8 @@ steps:
|
|||||||
- export IMAGE_TAG=$CI_COMMIT_TAG
|
- export IMAGE_TAG=$CI_COMMIT_TAG
|
||||||
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
||||||
- export KUBECONFIG=/tmp/kubeconfig
|
- export KUBECONFIG=/tmp/kubeconfig
|
||||||
|
- id
|
||||||
|
- pwd
|
||||||
- ./deployment/deploy.sh
|
- ./deployment/deploy.sh
|
||||||
when:
|
when:
|
||||||
- event: tag
|
- event: tag
|
||||||
|
@ -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