From fe32abc737145c44feb55b9d9906cc87fe736ef8 Mon Sep 17 00:00:00 2001 From: Paul Yu Date: Thu, 8 Feb 2024 17:09:30 -0800 Subject: [PATCH] feat: publish helm chart to resolve #106 --- .github/workflows/release-container-images.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-container-images.yaml b/.github/workflows/release-container-images.yaml index 1cddaa66..a16e3d51 100644 --- a/.github/workflows/release-container-images.yaml +++ b/.github/workflows/release-container-images.yaml @@ -57,7 +57,7 @@ jobs: username: ${{ github.actor }} password: ${{ github.token }} - - name: Build and push + - name: Build and push container images uses: docker/build-push-action@v2 with: context: src/${{ matrix.apps }} @@ -72,4 +72,9 @@ jobs: labels: | org.opencontainers.image.source=${{ github.repositoryUrl }} org.opencontainers.image.created=${{ steps.set-variables.outputs.CREATED }} - org.opencontainers.image.revision=${{ steps.set-variables.outputs.VERSION }} \ No newline at end of file + org.opencontainers.image.revision=${{ steps.set-variables.outputs.VERSION }} + + - name: Package and push helm chart + run: | + helm package ./charts/aks-store-demo --version ${{ steps.set-variables.outputs.VERSION }} + helm push ./aks-store-demo-chart-${{ steps.set-variables.outputs.VERSION }}.tgz oci://${{ steps.set-variables.outputs.REPOSITORY }}/charts \ No newline at end of file