Remove auto deploy
This commit is contained in:
parent
397c244609
commit
bc39045599
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@ -40,18 +40,3 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker build -t ${{ secrets.DR_URL }}/snowflake-server:$IMAGE_TAG .
|
docker build -t ${{ secrets.DR_URL }}/snowflake-server:$IMAGE_TAG .
|
||||||
docker push ${{ secrets.DR_URL }}/snowflake-server:$IMAGE_TAG
|
docker push ${{ secrets.DR_URL }}/snowflake-server:$IMAGE_TAG
|
||||||
sed -i 's|<IMAGE>|${{ secrets.DR_URL }}/snowflake-server:'${IMAGE_TAG}'|' $GITHUB_WORKSPACE/deployment.yml
|
|
||||||
|
|
||||||
- name: Kubectl tool installer
|
|
||||||
uses: Azure/setup-kubectl@v1
|
|
||||||
|
|
||||||
- name: Kubernetes set context
|
|
||||||
uses: Azure/k8s-set-context@v1.1
|
|
||||||
with:
|
|
||||||
# Acceptable values: kubeconfig or service-account or service-principal
|
|
||||||
method: kubeconfig
|
|
||||||
# Kubernetes Config
|
|
||||||
kubeconfig: ${{ secrets.KUBE_CONFIG }}
|
|
||||||
|
|
||||||
- name: Deploy to Kubernetes
|
|
||||||
run: kubectl apply -f $GITHUB_WORKSPACE/deployment.yml
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user