Try building go with ko #2
|
@ -10,10 +10,11 @@ jobs:
|
||||||
- uses: https://github.com/actions/setup-go@v5
|
- uses: https://github.com/actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.22.4'
|
go-version: '1.22.4'
|
||||||
- run: echo All Good
|
|
||||||
- uses: https://github.com/ko-build/setup-ko@v0.7
|
- uses: https://github.com/ko-build/setup-ko@v0.7
|
||||||
with:
|
with:
|
||||||
version: v0.15.4
|
version: v0.15.4
|
||||||
- run: ko build
|
- run: |
|
||||||
|
echo "${{ secrets.CI_SUNET_CDN }}" | ko login https://platform.sunet.se --username ci-sunet-cdn --password-stdin
|
||||||
|
ko build
|
||||||
env:
|
env:
|
||||||
KO_DOCKER_REPO: ko.local
|
KO_DOCKER_REPO: platform.sunet.se/sunet-cdn
|
||||||
|
|
Loading…
Reference in a new issue