Skip to content

Merge pull request #42 from Digitalist-Open-Cloud/pre_upgrade_with_ex… #14

Merge pull request #42 from Digitalist-Open-Cloud/pre_upgrade_with_ex…

Merge pull request #42 from Digitalist-Open-Cloud/pre_upgrade_with_ex… #14

Workflow file for this run

on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: build oci
env:
REG_USER: "${{ secrets.REG_USER }}"
REG_PASS: "${{ secrets.REG_PASS }}"
run: |
VERSION=$(grep "^version:" charts/matomo/Chart.yaml | cut -d ' ' -f2)
echo "Version to push: $VERSION"
cd charts
helm package matomo
helm registry login registry-1.docker.io -u $REG_USER -p $REG_PASS
helm push matomo-$VERSION.tgz oci://registry-1.docker.io/digitalist