forked from cadey/xesite
Update kubernetes-cd.yml
This commit is contained in:
parent
95cad31f46
commit
01ccc3696d
|
@ -15,8 +15,8 @@ jobs:
|
||||||
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
|
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
|
||||||
- name: Build/Push Docker Image
|
- name: Build/Push Docker Image
|
||||||
run: |
|
run: |
|
||||||
docker build . -t xena/christine.website:$(echo $GITHUB_SHA | head -c7)
|
docker build . -t xena/christinewebsite:$(echo $GITHUB_SHA | head -c7)
|
||||||
docker push xena/christine.website:$(echo $GITHUB_SHA | head -c7)
|
docker push xena/christinewebsite:$(echo $GITHUB_SHA | head -c7)
|
||||||
- name: Download secrets
|
- name: Download secrets
|
||||||
run: |
|
run: |
|
||||||
mkdir ~/.ssh
|
mkdir ~/.ssh
|
||||||
|
@ -45,7 +45,7 @@ jobs:
|
||||||
dyson manifest \
|
dyson manifest \
|
||||||
--name=christinewebsite \
|
--name=christinewebsite \
|
||||||
--domain=christine.website \
|
--domain=christine.website \
|
||||||
--dockerImage=xena/christine.website:$(echo $GITHUB_SHA | head -c7) \
|
--dockerImage=xena/christinewebsite:$(echo $GITHUB_SHA | head -c7) \
|
||||||
--containerPort=5000 \
|
--containerPort=5000 \
|
||||||
--replicas=1 \
|
--replicas=1 \
|
||||||
--useProdLE=true > deploy.yml
|
--useProdLE=true > deploy.yml
|
||||||
|
|
Loading…
Reference in New Issue