Skip to content

Commit

Permalink
Add ko.yml (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
apstndb authored Oct 15, 2024
1 parent b069524 commit 0b4df13
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish

on:
tags:
- 'v*'

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.23.x'
- uses: actions/checkout@v3

- uses: ko-build/[email protected]
- run: |
tag=$(echo ${{ github.ref }} | cut -c11-)
ko build -t ${tag}

0 comments on commit 0b4df13

Please sign in to comment.