From c90e376bc1151ca466e8253a36d8244c3ac1face Mon Sep 17 00:00:00 2001 From: Dmytro Maretskyi Date: Thu, 1 Jul 2021 15:28:13 +0200 Subject: [PATCH] Fix release script --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e02393184..724f37f77 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,6 +46,10 @@ jobs: run: | curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl chmod +x ./kubectl + - name: Set tag name + id: tag_name + run: | + echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/} - name: Update deployment in the cluster run: | ./kubectl --kubeconfig ./kubeconfig --namespace=staging set image deployments/hubble-commander hubble-commander=ghcr.io/worldcoin/hubble-commander:${{ steps.tag_name.outputs.SOURCE_TAG }}