Skip to content

Commit 4311d9e

Browse files
committed
Add publish-release workflow
This commit adds the kubernetes releng publish-release action to the repo to create releases when the repo is tagged. Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
1 parent 0165ba4 commit 4311d9e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright 2023 The OpenVEX Authors
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
name: Release
5+
6+
on:
7+
push:
8+
tags:
9+
- 'v*'
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
15+
permissions:
16+
contents: write # needed to write releases
17+
18+
steps:
19+
- name: Install publish-release
20+
uses: puerco/release-actions/setup-publish-release@9975072608f4adfb73144e8fc76603a6910f365e # main
21+
22+
- name: Publish Release
23+
uses: puerco/release-actions/publish-release@9975072608f4adfb73144e8fc76603a6910f365e # main
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+

0 commit comments

Comments
 (0)