Update kubernetes-cd.yml

This commit is contained in:
Cadey Ratio 2019-09-07 12:41:57 -04:00 committed by GitHub
parent 90a54000ba
commit 073be4f5d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ jobs:
- name: Build/Push Docker Image - name: Build/Push Docker Image
run: | run: |
docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
docker build . -t docker.io/within/christinewebsite:$(echo $GITHUB_SHA | head -c7) docker build . -t xena/christinewebsite:$(echo $GITHUB_SHA | head -c7)
docker push docker.io/within/christinewebsite:$(echo $GITHUB_SHA | head -c7) docker push xena/christinewebsite:$(echo $GITHUB_SHA | head -c7)
env: env:
DOCKER_USERNAME: "xena" DOCKER_USERNAME: "xena"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}" DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"