mirror of
https://github.com/rancher/k3k.git
synced 2026-02-14 18:10:01 +00:00
Use gh tool (#106)
* use gh tool instead of third party gh action Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com> * Fix checksum Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com> * Add GH_TOKEN env Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com> --------- Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
This commit is contained in:
9
.github/workflows/chart.yml
vendored
9
.github/workflows/chart.yml
vendored
@@ -3,6 +3,9 @@ on:
|
||||
tags:
|
||||
- "chart-*"
|
||||
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
||||
name: Chart
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -19,10 +22,8 @@ jobs:
|
||||
make package-chart;
|
||||
|
||||
- name: Release Chart
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: |
|
||||
deploy/*
|
||||
run: |
|
||||
gh release upload ${{ github.ref_name }} deploy/*
|
||||
|
||||
- name: Index Chart
|
||||
run: |
|
||||
|
||||
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -3,6 +3,9 @@ on:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
||||
name: Release
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -28,10 +31,8 @@ jobs:
|
||||
secret/data/github/repo/${{ github.repository }}/dockerhub/${{ github.repository_owner }}/credentials password | DOCKER_PASSWORD ;
|
||||
|
||||
- name: release binaries
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: |
|
||||
bin/*
|
||||
run: |
|
||||
gh release upload ${{ github.ref_name }} bin/*
|
||||
|
||||
- name: Login to Container Registry
|
||||
uses: docker/login-action@v3
|
||||
|
||||
Reference in New Issue
Block a user