Skip to content

add release.yaml (#1) #9

add release.yaml (#1)

add release.yaml (#1) #9

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
permissions:
contents: read
packages: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Setup KO
uses: ko-build/[email protected]
- name: Publish
run: |
ko build ./cmd/emailer --platform="linux/amd64,linux/arm64" --base-import-paths --tags ${{github.ref_name}}