Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add oci prefix #28

Merged
merged 1 commit into from
Feb 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/release-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
Loading