mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-01-13 21:21:03 +00:00
ci: setup release workflow
This commit is contained in:
parent
d1b9ae1908
commit
a1aaa3ba1f
2 changed files with 25 additions and 0 deletions
22
.github/workflows/release.yaml
vendored
Normal file
22
.github/workflows/release.yaml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
|
||||
|
||||
- uses: ko-build/setup-ko@v0.7
|
||||
- run: ko build --bare --tags ${{ github.ref_name }}
|
||||
3
.ko.yaml
Normal file
3
.ko.yaml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
defaultPlatforms:
|
||||
- linux/arm64
|
||||
- linux/amd64
|
||||
Loading…
Add table
Add a link
Reference in a new issue