diff options
| author | Christine Dodrill <me@christine.website> | 2019-09-07 12:40:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-07 12:40:39 -0400 |
| commit | 90a54000ba0cfe050d86969a4c56947783cb8089 (patch) | |
| tree | 94b470d040b4a491ee1e0ec6c9cd160fc3c4ace8 | |
| parent | 7c356cca088522d1ba2dd39734dfeb9e870e2cc3 (diff) | |
| download | xesite-90a54000ba0cfe050d86969a4c56947783cb8089.tar.xz xesite-90a54000ba0cfe050d86969a4c56947783cb8089.zip | |
Update kubernetes-cd.yml
| -rw-r--r-- | .github/workflows/kubernetes-cd.yml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/kubernetes-cd.yml b/.github/workflows/kubernetes-cd.yml index 0ddffd5..2424158 100644 --- a/.github/workflows/kubernetes-cd.yml +++ b/.github/workflows/kubernetes-cd.yml @@ -8,16 +8,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - name: Docker Login - uses: actions/docker/login@master - env: - DOCKER_USERNAME: "xena" - DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}" - name: Build/Push Docker Image run: | - set -x + docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD docker build . -t docker.io/within/christinewebsite:$(echo $GITHUB_SHA | head -c7) docker push docker.io/within/christinewebsite:$(echo $GITHUB_SHA | head -c7) + env: + DOCKER_USERNAME: "xena" + DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}" - name: Download secrets run: | mkdir ~/.ssh |
