-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Publish workflow fixes Signed-off-by: Janos SUTO <[email protected]> * Renamed README to README.md Signed-off-by: Janos SUTO <[email protected]> * Updated readme.md Signed-off-by: Janos SUTO <[email protected]> * Created release workflow Signed-off-by: Janos SUTO <[email protected]> --------- Signed-off-by: Janos SUTO <[email protected]>
- Loading branch information
Showing
3 changed files
with
34 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Publish release | ||
|
||
on: | ||
push: | ||
tags: | ||
- piler* | ||
|
||
env: | ||
IMAGE_NAME: sutoj/piler | ||
TEST_TAG: test | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
publish: | ||
|
||
runs-on: | ||
- self-hosted | ||
- X64 | ||
|
||
steps: | ||
- name: Create release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ github.ref_name }} | ||
run: | | ||
gh release create "$tag" \ | ||
--repo="$GITHUB_REPOSITORY" \ | ||
--title="${GITHUB_REPOSITORY#*/} ${tag#*-}" \ | ||
--generate-notes | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters