Update kubernetes-cd.yml

This commit is contained in:
Cadey Ratio 2019-09-07 12:08:31 -04:00 committed by GitHub
parent 36a80e9e04
commit 94867af8f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -8,15 +8,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Docker Login
uses: actions/docker/login@master
env:
DOCKER_USERNAME: "${{ secrets.DOCKER_USERNAME }"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }"
- name: Build/Push Docker Image
run: |
mkdir -p ~/.docker
echo $DOCKER_CONFIG | base64 -d > ~/.docker/config
md5sum ~/.docker/config
docker build . -t xena/christine.website:$(echo $GITHUB_SHA | head -c7)
docker push xena/christine.website:$(echo $GITHUB_SHA | head -c7)
env:
DOCKER_CONFIG: "$${ secrets.DOCKER_CONFIG }"
- name: Download secrets
run: |
mkdir ~/.ssh