Update kubernetes-cd.yml

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

View File

@ -10,10 +10,10 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Build/Push Docker Image - name: Build/Push Docker Image
run: | run: |
docker build . -t xena/christine.website:$(echo $GITHUB_SHA | head -c7)
mkdir -p ~/.docker mkdir -p ~/.docker
echo $DOCKER_CONFIG | base64 -d > ~/.docker/config echo $DOCKER_CONFIG | base64 -d > ~/.docker/config
md5sum ~/.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) docker push xena/christine.website:$(echo $GITHUB_SHA | head -c7)
env: env:
DOCKER_CONFIG: "$${ secrets.DOCKER_CONFIG }" DOCKER_CONFIG: "$${ secrets.DOCKER_CONFIG }"