Let ko install pick its Go toolchain
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci / pre-commit (pull_request) Has been cancelled
ci / lint (pull_request) Has been cancelled
ci / test (pull_request) Has been cancelled
ci / build (pull_request) Has been cancelled
ci / ui (pull_request) Has been cancelled

This commit is contained in:
2026-11-20 23:39:05 +11:00
parent 0be7e2250a
commit 97a7efee00
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -56,6 +56,8 @@ jobs:
go-version-file: go.mod
- run: go build ./...
- run: go install github.com/google/ko@v0.19.1
env:
GOTOOLCHAIN: auto
- run: ko build --push=false --bare --platform linux/amd64 ./cmd/artifactapi
env:
KO_DOCKER_REPO: ghcr.io/iuclabs/artifactapi
+2
View File
@@ -24,6 +24,8 @@ jobs:
- run: |
go install github.com/google/ko@v0.19.1
go install github.com/google/go-containerregistry/cmd/crane@v0.22.1
env:
GOTOOLCHAIN: auto
- run: echo "${GITHUB_TOKEN}" | crane auth login ghcr.io -u "${GITHUB_ACTOR}" --password-stdin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}