From 72af627033f03e535275a7f4c686285a5c021470 Mon Sep 17 00:00:00 2001 From: wkbrd <30599409+wkbrd@users.noreply.github.com> Date: Tue, 9 Jul 2024 19:41:47 -0400 Subject: [PATCH] Update helm_release.yaml --- .github/workflows/helm_release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/helm_release.yaml b/.github/workflows/helm_release.yaml index 01edf5f..1371ce3 100644 --- a/.github/workflows/helm_release.yaml +++ b/.github/workflows/helm_release.yaml @@ -1,7 +1,7 @@ name: Release Charts env: HELM_VERSION_TO_INSTALL: 3.14.0 - GCR_IMAGE: ghcr.io/${{ github.repository_owner }}/doker-registry + GCR_IMAGE: ghcr.io/${{ github.repository_owner }}/docker-registry on: workflow_dispatch: @@ -46,6 +46,7 @@ jobs: - name: login to acr using helm run: | echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ${{ env.GCR_IMAGE }} --username ${{ github.repository_owner }} --password-stdin + - name: save helm chart to local registry run: | helm package ${{ github.workspace }}/ @@ -53,4 +54,4 @@ jobs: - name: publish chart to acr run: | - helm chart push ${{ env.GCR_IMAGE }}:${{ github.sha }} + helm push dockery-registry-{{ .Version }}.tgz ${{ env.GCR_IMAGE }}:${{ .Version }}