Skip to content

fix bucket url for helm charts #11

fix bucket url for helm charts

fix bucket url for helm charts #11

Workflow file for this run

name: Push Helm Chart to S3
on:
push:
tags:
- 'helm-v*' # temporary
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Set up Helm
uses: azure/[email protected]
with:
version: 'v3.10.3'
- name: Package Helm Chart
run: |
helm package chart/ --destination .
- name: Update Helm Chart Index
run: |
if aws s3 ls s3://charts.briefer.cloud/index.yaml; then
aws s3 cp s3://charts.briefer.cloud/index.yaml .
helm repo index . --merge index.yaml
else
helm repo index .
fi
- name: Upload Helm Chart to S3
run: |
aws s3 cp index.yaml s3://charts.briefer.cloud/
aws s3 cp briefer-*.tgz s3://charts.briefer.cloud/