Merge pull request 'Try building go with ko' (#2) from patlu/action-runner-demo:build_go into main
Some checks failed
/ test (push) Failing after 12s
Some checks failed
/ test (push) Failing after 12s
Reviewed-on: #2
This commit is contained in:
commit
afffca09ad
|
@ -1,6 +1,20 @@
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: docker
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- run: echo All Good
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
- uses: https://github.com/actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '1.22.4'
|
||||||
|
- uses: https://github.com/ko-build/setup-ko@v0.7
|
||||||
|
with:
|
||||||
|
version: v0.15.4
|
||||||
|
- run: ko login https://platform.sunet.se --username ci-sunet-cdn --password ${{ secrets.CI_SUNET_CDN }}
|
||||||
|
- run: ko build
|
||||||
|
env:
|
||||||
|
KO_DOCKER_REPO: platform.sunet.se/sunet-cdn
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue