Skip to content

Commit 7331b50

Browse files
committed
ci: fix chart publish workflow
Signed-off-by: Aurora Gaffney <agaffney@applause.com>
1 parent 2299578 commit 7331b50

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/publish-helm-chart.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ name: publish-helm-chart
22

33
on:
44
push:
5-
branches: ['master']
5+
branches:
6+
- master
7+
# TODO: remove me
8+
- fix/eip-attach-iface-name
69
tags:
710
- '*'
811
paths:
912
- 'helm/**'
13+
- '.github/workflows/publish-helm-chart.yml'
1014

1115
concurrency: ${{ github.ref }}
1216

@@ -28,10 +32,11 @@ jobs:
2832
TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2933
USER: "${{ github.repository_owner }}"
3034
run: |
35+
set -x
3136
rm -rf dist
3237
mkdir dist
3338
helm package helm/ -d dist/
34-
echo "${TOKEN}" | helm registry login "${REGISTRY}/${REPOSITORY,,}" -u "${USER}" --password-stdin
39+
echo "${TOKEN}" | helm registry login "${REGISTRY}" -u "${USER}" --password-stdin
3540
for file in dist/*; do
3641
helm push "$file" "oci://${REGISTRY}/${REPOSITORY,,}/charts"
3742
done

0 commit comments

Comments
 (0)