Update main.yml
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
Dusty.P 2021-09-29 20:38:40 -08:00 committed by GitHub
parent 2b4b2af16c
commit 761814ec62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ 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 sed -i 's|<IMAGE>|${{ secrets.DR_URL }}/snowflake-server:'${IMAGE_TAG}'|' $GITHUB_WORKSPACE/deployment.yml
- name: Kubernetes set context - name: Kubernetes set context