All checks were successful
Build and Push Docker Image / build (push) Successful in 11s
25 lines
619 B
YAML
25 lines
619 B
YAML
name: Build and Push Docker Image
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Helm
|
|
uses: azure/setup-helm@v4.3.0
|
|
|
|
- name: Install cm-push
|
|
run: helm plugin install https://github.com/chartmuseum/helm-push --verify=false
|
|
|
|
- name: Setup helm Repo
|
|
run: helm repo add --username ${{ secrets.REGISTRY_USER }} --password ${{ secrets.REGISTRY_PASSWORD }} gitea https://git.kocoder.xyz/api/packages/kocoded/helm
|
|
|
|
- name: Build and Push
|
|
run: helm cm-push ./helm/chart/vt gitea
|