Merge pull request #42 from Digitalist-Open-Cloud/pre_upgrade_with_ex… #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |