From b5e0da33ea39c6f32bb80f0a745c7b19011064d3 Mon Sep 17 00:00:00 2001 From: Flynn Date: Wed, 6 Mar 2024 18:49:46 -0500 Subject: [PATCH] [build] Strip the leading v from the version when pushing the chart Signed-off-by: Flynn --- .github/workflows/release.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0dc8d02..20a0d5f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,10 +14,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Get the version - id: get_version - run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} - - name: Checkout code uses: actions/checkout@v4 with: @@ -47,5 +43,4 @@ jobs: - name: Run make push-chart env: HELM_REGISTRY: oci://ghcr.io/buoyantio - VERSION: ${{ steps.get_version.outputs.VERSION }} - run: make push-chart + run: make VERSION=${GITHUB_REF#refs/tags/v} push-chart