diff options
| author | Christine Dodrill <me@christine.website> | 2019-09-07 12:08:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-07 12:08:31 -0400 |
| commit | 94867af8f265c02eed49913474d7912d41c241a4 (patch) | |
| tree | bd66edde90a544f0535d7a136f2c96cbb2837fab /.github/workflows | |
| parent | 36a80e9e04ddd0a49af0f2c6b4b87b5b5771fab1 (diff) | |
| download | xesite-94867af8f265c02eed49913474d7912d41c241a4.tar.xz xesite-94867af8f265c02eed49913474d7912d41c241a4.zip | |
Update kubernetes-cd.yml
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/kubernetes-cd.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/kubernetes-cd.yml b/.github/workflows/kubernetes-cd.yml index 6f22f5d..77fe9bb 100644 --- a/.github/workflows/kubernetes-cd.yml +++ b/.github/workflows/kubernetes-cd.yml @@ -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 |
