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
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:
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user