Commit cd13d20 1 parent 749f47f commit cd13d20 Copy full SHA for cd13d20
File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,14 @@ name: Release Elasti Helm Chart
2
2
3
3
on :
4
4
push :
5
- tags :
6
- - elasti-helm-v*
5
+ # tags:
6
+ # - elasti-helm-v*
7
+
8
+ env :
9
+ HELM_REGISTRY_URL : ${{ vars.TRUEFOUNDRY_ARTIFACTORY_REGISTRY_URL }}
10
+ HELM_REGISTRY_USERNAME : ${{ secrets.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_USERNAME }}
11
+ HELM_REGISTRY_PASSWORD : ${{ secrets.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_PASSWORD }}
12
+ HELM_CHART_REPOSITORY : ${{ vars.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_HELM_REPOSITORY }}
7
13
8
14
jobs :
9
15
release :
22
28
23
29
- name : Helm registry login
24
30
run : |
25
- helm registry login -u ${{ secrets.OCI_REGISTRY_USERNAME }} -p ${{ secrets.OCI_REGISTRY_PASSWORD }} quay.io
31
+ helm registry login -u ${{ env.HELM_REGISTRY_USERNAME }} -p ${{ env.HELM_REGISTRY_PASSWORD }} ${{ env.HELM_REGISTRY_URL }}
26
32
27
33
- name : Helm push
28
34
run : |
42
48
# pushing the helm charts
43
49
echo "Pushing Chart: $CHART_NAME"
44
50
echo "Version: $CHART_NAME-$CHART_VERSION.tgz"
45
- helm push $CHART_NAME-$CHART_VERSION.tgz oci://quay.io/truefoundrycharts
51
+ echo " helm push $CHART_NAME-$CHART_VERSION.tgz oci://${{ env.HELM_CHART_REPOSITORY}}"
46
52
echo "Successfully pushed chart: $CHART_NAME"
47
53
done
You can’t perform that action at this time.
0 commit comments