mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 00:04:16 -03:00
again
This commit is contained in:
4
.github/workflows/common.release.yaml
vendored
4
.github/workflows/common.release.yaml
vendored
@@ -67,7 +67,9 @@ jobs:
|
||||
if [ -z "${pkg:-}" ]; then
|
||||
break
|
||||
fi
|
||||
name="${pkg%%-[0-9].[0-9].[0-9].tgz}"
|
||||
filename=$(basename "$pkg")
|
||||
name="${filename%%-[0-9].[0-9].[0-9].tgz}"
|
||||
echo "uploading $name"
|
||||
helm push "${pkg}" oci://quay.io/truecharts/$name || echo "failed to upload $pkg to OCI"
|
||||
curl -X POST -H "Content-Type: application/json" -d '{"visibility": "public"}' -H "Authorization: Bearer ${{ secrets.QUAY_TCCR_API_TOKEN }}" "https://quay.io/api/v1/repository/tccr/$pkg/changevisibility" || echo "failed to set $pkg to public on OCI"
|
||||
done
|
||||
|
||||
@@ -15,4 +15,4 @@ maintainers:
|
||||
name: common
|
||||
sources: null
|
||||
type: library
|
||||
version: 17.2.6
|
||||
version: 17.2.7
|
||||
|
||||
Reference in New Issue
Block a user