mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-09 22:54:18 +00:00
generate releases on tags as part of CI
This commit is contained in:
parent
24cdafa7b6
commit
f7bfd2c960
3 changed files with 24 additions and 6 deletions
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
|
|
@ -1,11 +1,8 @@
|
|||
name: build
|
||||
|
||||
name: ci
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
@ -18,3 +15,16 @@ jobs:
|
|||
|
||||
- name: acceptance-test
|
||||
run: make docker-acceptance
|
||||
|
||||
goreleaser:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: goreleaser
|
||||
run: make release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue