update
This commit is contained in:
11
.github/workflows/deploy.yml
vendored
11
.github/workflows/deploy.yml
vendored
@@ -9,9 +9,14 @@ on:
|
|||||||
app-target:
|
app-target:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
registry:
|
# REGISTRY:
|
||||||
|
# required: true
|
||||||
|
# k8s-config:
|
||||||
|
# required: true
|
||||||
|
secrets:
|
||||||
|
REGISTRY:
|
||||||
required: true
|
required: true
|
||||||
k8s-config:
|
K8S_DEV:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -31,6 +36,6 @@ jobs:
|
|||||||
mv kubectl /usr/local/bin/
|
mv kubectl /usr/local/bin/
|
||||||
cd ~
|
cd ~
|
||||||
mkdir .kube
|
mkdir .kube
|
||||||
echo "$CONFIG" > .kube/config
|
echo "$K8S_DEV" > .kube/config
|
||||||
kubectl set image deployment/$APP $APPTARGET=$REGISTRY:$GITHUB_SHA
|
kubectl set image deployment/$APP $APPTARGET=$REGISTRY:$GITHUB_SHA
|
||||||
kubectl rollout restart deployment/$app
|
kubectl rollout restart deployment/$app
|
||||||
|
|||||||
Reference in New Issue
Block a user