-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 960 Bytes
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: publish
on:
push:
branches: [ main, release/* ]
paths:
- "staging/**"
- "stable/**"
- ".github/workflows/publish.yml"
workflow_dispatch:
jobs:
charts:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: asdf-vm/actions/install@v3
- uses: jimmidyson/asdf-parse-tool-versions@v2
id: versions
- env:
HELM_VERSION: ${{ fromJson(steps.versions.outputs.tools).helm }}
HELM_CT_VERSION: ${{ fromJson(steps.versions.outputs.tools).helm-ct }}
run: |
asdf global helm $HELM_VERSION
asdf global helm-ct $HELM_CT_VERSION
- run: make publish
env:
COMMIT_EMAIL: "[email protected]"
COMMIT_USERNAME: "ZEISS CI"
GIT_REMOTE_URL: "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/zeiss/charts.git"