fix(common): ensure common is uploaded to tccr.io/quay as oci artifact

This commit is contained in:
Kjeld Schouten
2024-01-01 15:20:10 +01:00
parent a8944fdd75
commit 1ba0e9ff6a

View File

@@ -55,3 +55,20 @@ jobs:
env:
CR_TOKEN: "${{ secrets.BOT_TOKEN }}"
CR_SKIP_EXISTING: "true"
- name: Helm | Login
shell: bash
run: echo ${{ secrets.QUAY_TCCR_TOKEN }} | helm registry login -u ${{ secrets.QUAY_TCCR_USER }} --password-stdin quay.io
- name: Push Charts to GHCR
run: |
for pkg in .cr-release-packages/*; do
if [ -z "${pkg:-}" ]; then
break
fi
helm push "${pkg}" oci://quay.io/truecharts/charts
done
- name: Helm | Logout
shell: bash
run: helm registry logout quay.io