mirror of
https://github.com/rancher/k3k.git
synced 2026-05-03 07:56:48 +00:00
Add release and chart workflow
This commit is contained in:
@@ -3,7 +3,7 @@ name: Chart Release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- k3k-chart
|
||||
|
||||
jobs:
|
||||
release:
|
||||
28
.github/workflows/release.yml
vendored
Normal file
28
.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: K3K Release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
registry: docker.io
|
||||
image: rancher/dapper:v0.5.5
|
||||
options: -v /var/run/docker.sock:/var/run/docker.sock
|
||||
run: |
|
||||
dapper ci
|
||||
- uses: SierraSoftworks/gh-releases@v1.0.7
|
||||
with:
|
||||
token: ${{ secrets.TOKEN }}
|
||||
overwrite: 'true'
|
||||
files: |
|
||||
dist/artifacts/k3k
|
||||
Reference in New Issue
Block a user