-
Notifications
You must be signed in to change notification settings - Fork 146
32 lines (29 loc) · 906 Bytes
/
Copy pathrelease.yml
File metadata and controls
32 lines (29 loc) · 906 Bytes
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
name: release
on:
workflow_dispatch:
permissions:
contents: read
jobs:
release-charts:
if: github.ref == 'refs/heads/main'
runs-on: large_runner
permissions:
contents: write
packages: write
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install tools (helm, cr)
run: bash .github/scripts/install_tools.sh
- name: Release
env:
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HELM_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_REPOSITORY_URL: https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
GIT_USERNAME: github-actions[bot]
GIT_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
run: bash .github/scripts/release.sh