mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 03:09:17 -03:00
fix(common): ensure common is uploaded to tccr.io/quay as oci artifact
This commit is contained in:
17
.github/workflows/common.release.yaml
vendored
17
.github/workflows/common.release.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user