Skip to content

Commit

Permalink
add release.yaml (#1)
Browse files Browse the repository at this point in the history
* add release.yaml

* setup go

* explicit permission

* attempt to fix repo name

* change docker repo name

* change docker repo name again

* last attempt

* permissions

* update release.yaml
  • Loading branch information
mrwormhole authored Jun 9, 2024
1 parent 18c88d8 commit 708e0da
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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}}

0 comments on commit 708e0da

Please sign in to comment.