forked from cadey/xesite
Update kubernetes-cd.yml
This commit is contained in:
parent
7c356cca08
commit
90a54000ba
|
@ -8,16 +8,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Docker Login
|
||||
uses: actions/docker/login@master
|
||||
- name: Build/Push Docker Image
|
||||
run: |
|
||||
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: Build/Push Docker Image
|
||||
run: |
|
||||
set -x
|
||||
docker build . -t docker.io/within/christinewebsite:$(echo $GITHUB_SHA | head -c7)
|
||||
docker push docker.io/within/christinewebsite:$(echo $GITHUB_SHA | head -c7)
|
||||
- name: Download secrets
|
||||
run: |
|
||||
mkdir ~/.ssh
|
||||
|
|
Loading…
Reference in New Issue