Skip to content

add release.yaml

add release.yaml #8

Workflow file for this run

name: Release
on:
pull_request:
branches: [ "main" ]
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"