Remove auto deploy
This commit is contained in:
parent
397c244609
commit
bc39045599
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@ -39,19 +39,4 @@ jobs:
|
|||||||
IMAGE_TAG: ${{ steps.get_version.outputs.version-without-v }}
|
IMAGE_TAG: ${{ steps.get_version.outputs.version-without-v }}
|
||||||
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