forked from cadey/xesite
Update kubernetes-cd.yml
This commit is contained in:
parent
7d40040bb1
commit
36a80e9e04
|
@ -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 }"
|
||||||
|
|
Loading…
Reference in New Issue