Update kubernetes-cd.yml

This commit is contained in:
Cadey Ratio 2019-09-07 11:59:57 -04:00 committed by GitHub
parent 4777c63c89
commit 4033a2b9d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -11,16 +11,16 @@ jobs:
- name: Build/Push Docker Image
run: |
docker build . -t xena/christine.website:$(echo $GITHUB_SHA | head -c7)
mkdir -p ~/.docker && echo $DOCKER_CONFIG > ~/.docker/config
mkdir -p ~/.docker
echo $DOCKER_CONFIG | base64 -d > ~/.docker/config
md5sum ~/.docker/config
docker push xena/christine.website:$(echo $GITHUB_SHA | head -c7)
env:
DOCKER_CONFIG: "$${ secrets.DOCKER_CONFIG }"
- name: Download secrets
run: |
mkdir ~/.ssh
echo $FILE_DATA > temp
cat temp | base64 -d > ~/.ssh/id_rsa
rm temp
echo $FILE_DATA | base64 -d > ~/.ssh/id_rsa
md5sum ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
git clone git@git.xeserv.us:xena/within-terraform-secret