From 41998d7d370231b0cb2d306f6be611ddde612d0e Mon Sep 17 00:00:00 2001 From: dyllamt Date: Fri, 23 Feb 2024 23:09:53 -0800 Subject: [PATCH] add oci prefix --- .github/workflows/release-artifacts.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-artifacts.yaml b/.github/workflows/release-artifacts.yaml index a707979..124fffd 100644 --- a/.github/workflows/release-artifacts.yaml +++ b/.github/workflows/release-artifacts.yaml @@ -105,10 +105,10 @@ jobs: VERSION=${{ needs.get-version.outputs.version }} CHART_NAME="coinbase-kafka" CHART_PATH="charts/$CHART_NAME" + CHART_REF="oci://ghcr.io/dyllamt/charts/$CHART_NAME:$VERSION" # Update Chart.yaml version sed -i "s/version: .*/version: $VERSION/" "$CHART_PATH/Chart.yaml" # Package and push - CHART_REF="ghcr.io/dyllamt/charts/$CHART_NAME:$VERSION" helm package $CHART_PATH --version $VERSION --app-version $VERSION helm push $CHART_NAME-$VERSION.tgz $CHART_REF @@ -117,13 +117,13 @@ jobs: VERSION=${{ needs.get-version.outputs.version }} CHART_NAME="coinbase-producer" CHART_PATH="charts/$CHART_NAME" + CHART_REF="oci://ghcr.io/dyllamt/charts/$CHART_NAME:$VERSION" + IMAGE_TAG="ghcr.io/dyllamt/$CHART_NAME:$VERSION" # Update Chart.yaml version sed -i "s/version: .*/version: $VERSION/" "$CHART_PATH/Chart.yaml" # Update values.yaml image tag - IMAGE_TAG="ghcr.io/dyllamt/$CHART_NAME:$VERSION" sed -i "s|image: .*|image: $IMAGE_TAG|" "$CHART_PATH/values.yaml" # Package and push - CHART_REF="ghcr.io/dyllamt/charts/$CHART_NAME:$VERSION" helm package $CHART_PATH --version $VERSION --app-version $VERSION helm push $CHART_NAME-$VERSION.tgz $CHART_REF