Skip to content

service-tgbotserver #46

service-tgbotserver

service-tgbotserver #46

Workflow file for this run

# https://github.com/bsord/helm-push
# https://docs.github.com/en/actions/learn-github-actions/contexts
name: helm
permissions:
packages: write
contents: read
on:
push:
branches:
- main
paths:
- 'helm/**'
jobs:
build-push:
runs-on: ubuntu-latest
steps:
- name: version
run: |
VERSION=$( date '+%y.%m%d.%H%M' )
echo "VERSION:$VERSION"
echo "VERSION=$VERSION" >> $GITHUB_ENV
- uses: actions/checkout@v4
- name: chart version
run: |
sed -i -e "s/__VERSION__/$VERSION/g" helm/Chart.yaml
cat helm/Chart.yaml
- name: push
uses: bsord/helm-push@v4
with:
useOCIRegistry: true
registry-url: oci://ghcr.io/${{ github.repository }}
username: ${{ github.repository_owner }}
access-token: ${{ secrets.GITHUB_TOKEN }}
force: true
chart-folder: helm