Try building go with ko #2
|
@ -1,6 +1,17 @@
|
|||
on: [push]
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||
- uses: https://github.com/actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22.4'
|
||||
- run: echo All Good
|
||||
- uses: https://github.com/ko-build/setup-ko@v0.7
|
||||
- run: ko build
|
||||
env:
|
||||
KO_DOCKER_REPO: ko.local
|
||||
|
|
Loading…
Reference in a new issue