Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

chore: do not attempt deployment on release #351

Merged
merged 1 commit into from
May 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,6 @@ jobs:
docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"

- name: Configure Kubernetes
env:
KUBECONFIG: '${{ github.workspace }}/.kube/kubeconfig'
run: |
mkdir -p '${{ github.workspace }}/.kube' \
&& echo '${{ secrets.KUBE_CONFIG}}' | base64 -d > $KUBECONFIG

- name: Set new image
env:
IMAGE: ${{ steps.build-image.outputs.image }}
KUBECONFIG: '${{ github.workspace }}/.kube/kubeconfig'
run: |
kubectl -n testnet set image deployment/client-deployment client-container=$IMAGE

buildDocker:
name: Build image and push to Docker Hub
runs-on: ubuntu-latest
Expand Down