Skip to content

Commit

Permalink
repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
bng-istream committed Oct 24, 2024
1 parent a1f5569 commit 9b4470b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions helmfile-push-S3/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ runs:
uses: azure/setup-helm@v4
env:
HELM_VERSION: 3.12.3
HELM_REPO: helm
with:
version: ${{ env.HELM_VERSION }}
- name: Install Helm S3 plugin
Expand All @@ -61,6 +62,7 @@ runs:
- name: Push Chart to S3
shell: bash
run: |
echo "HELM_REPO=helm-$(date +%s)" >> $GITHUB_ENV
helm s3 init --ignore-if-exists ${{ inputs.repo-location }}
helm repo add repo ${{ inputs.repo-location }}
ls "/dev/shm/chart/" | xargs -I {} helm s3 push --ignore-if-exists "/dev/shm/chart/{}" repo
helm repo add ${{ env.HELM_VERSION}} ${{ inputs.repo-location }}
ls "/dev/shm/chart/" | xargs -I {} helm s3 push --ignore-if-exists "/dev/shm/chart/{}" ${{ env.HELM_VERSION}}

0 comments on commit 9b4470b

Please sign in to comment.