Skip to content

Commit

Permalink
Update helm_release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
wkbrd authored Jul 9, 2024
1 parent efef905 commit 72af627
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/helm_release.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -46,11 +46,12 @@ 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 }}/
ls
- name: publish chart to acr
run: |
helm chart push ${{ env.GCR_IMAGE }}:${{ github.sha }}
helm push dockery-registry-{{ .Version }}.tgz ${{ env.GCR_IMAGE }}:${{ .Version }}

0 comments on commit 72af627

Please sign in to comment.