Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Commit

Permalink
Set up release action
Browse files Browse the repository at this point in the history
  • Loading branch information
glyn committed Sep 23, 2019
1 parent 6e410f4 commit 28a4e87
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: release workflow
on:
push:
tags:
- 'v*'
jobs:
build:
name: release action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v1
with:
go-version: '1.12'
- name: build binaries
run: |
make release
- name: populate release
uses: softprops/action-gh-release@v1
with:
files: irel-*-amd64*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,6 @@ If this repository isn't quite what you're looking for, try:
* [kbld](https://github.com/k14s/kbld) (also based on ggcr)
* [k8s container image promoter](https://github.com/kubernetes-sigs/k8s-container-image-promoter) (also based on ggcr)

## Development

To create a release on github, simply push a tag beginning with "v".

0 comments on commit 28a4e87

Please sign in to comment.