26 lines
904 B
YAML
26 lines
904 B
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
on: [push]
|
|
|
|
jobs:
|
|
Explore-Gitea-Actions:
|
|
runs-on: ubuntu-22.04:docker://node:18-bullseye
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Install helm
|
|
uses: azure/setup-helm@v3
|
|
- name: Install cm-push
|
|
run: |
|
|
helm plugin install https://github.com/chartmuseum/helm-push
|
|
- name: Package helm chart
|
|
run: |
|
|
helm package chart/
|
|
- name: Add helm repo
|
|
run: |
|
|
helm repo add --username accidentallycompetent --password ${{ secret.PUBLIC_PACKAGE_WRITE }} octocloudlab https://gitea.example.com/api/packages/octocloudlab/helm
|
|
- name: Upload chart artifact
|
|
run: |
|
|
helm cm-push chart/*.tgz octocloudlab
|
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|