Skip to content

Commit

Permalink
Merge pull request #9099 from OpenMined/rasswanth/fix-helm-releases
Browse files Browse the repository at this point in the history
Fix Helm Package Overwrite
  • Loading branch information
rasswanth-s authored Jul 30, 2024
2 parents 5ddad4d + 198f634 commit 459f5a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd-feature-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -367,15 +367,15 @@ jobs:

- name: Copy helm repo files from Syft Repo
run: |
rm -rf ghpages/helm/*
cp -R packages/grid/helm/repo/. ghpages/helm/
cp packages/grid/helm/repo/index.yaml ghpages/helm/
cp packages/grid/helm/repo/syft-${{ needs.merge-docker-images.outputs.server_version }}.tgz ghpages/helm/
- name: Commit changes to gh-pages
uses: EndBug/add-and-commit@v9
with:
author_name: ${{ secrets.OM_BOT_NAME }}
author_email: ${{ secrets.OM_BOT_EMAIL }}
message: "Update Helm package from Syft Repo"
message: "Add Helm package for Syft Version: ${{ needs.merge-docker-images.outputs.server_version }}"
add: "helm/"
push: "origin gh-pages"
cwd: "./ghpages/"
6 changes: 3 additions & 3 deletions .github/workflows/cd-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -578,15 +578,15 @@ jobs:

- name: Copy helm repo files from Syft Repo
run: |
rm -rf ghpages/helm/*
cp -R packages/grid/helm/repo/. ghpages/helm/
cp packages/grid/helm/repo/index.yaml ghpages/helm/
cp packages/grid/helm/repo/syft-${{ steps.release_checks.outputs.syft_version }}.tgz ghpages/helm/
- name: Commit changes to gh-pages
uses: EndBug/add-and-commit@v9
with:
author_name: ${{ secrets.OM_BOT_NAME }}
author_email: ${{ secrets.OM_BOT_EMAIL }}
message: "Update Helm package from Syft Repo"
message: "Add Helm package for Syft Version: ${{ steps.release_checks.outputs.syft_version }}"
add: "helm/"
push: "origin gh-pages"
cwd: "./ghpages/"
Expand Down

0 comments on commit 459f5a7

Please sign in to comment.