Skip to content

Commit

Permalink
fix: chart release (#3083)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored Oct 11, 2024
1 parent 3ee5b10 commit ded3786
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ jobs:
- name: Push Helm Chart
run: |
helm registry login -u ftl0 -p "$PASSWORD" registry-1.docker.io
version="$(git describe --tags --abbrev=0)"
just chart release oci://registry-1.docker.io/ftl0/ftl-charts "$version"
version="$(git describe --tags --abbrev=0 | sed 's/v//')"
just chart release oci://registry-1.docker.io/ftl0 "$version"
env:
PASSWORD: ${{ secrets.FTL_DOCKER_PUSH_TOKEN }}
- name: Push Docker Images
Expand Down
4 changes: 2 additions & 2 deletions charts/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: ftl
name: ftl-chart
description: |
A Helm chart for Kubernetes that deploys FTL
home: https://github.com/TBD54566975/ftl
Expand All @@ -12,4 +12,4 @@ dependencies:
- name: harbor
version: v1.15.1
repository: https://helm.goharbor.io
condition: harbor.enabled
condition: harbor.enabled
2 changes: 1 addition & 1 deletion charts/Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ package:
helm package -u . -d output

publish repo version:
helm push output/ftl-{{version}}.tgz {{repo}}
helm push output/ftl-chart-{{version}}.tgz {{repo}}

release repo version:
just set-version {{version}}
Expand Down

0 comments on commit ded3786

Please sign in to comment.