feat(build): build for supported golang versions
Some checks failed
ci/woodpecker/push/build/1 Pipeline failed
ci/woodpecker/push/build/2 Pipeline failed

This commit is contained in:
pips 2025-07-30 21:57:04 +02:00
parent cec5cca8fa
commit 503bbb8f89
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
matrix:
GO_VERSION:
- 1.24
- 1.23
when:
- event: [push, manual]
@ -6,7 +11,7 @@ steps:
image: woodpeckerci/plugin-kaniko
settings:
registry: ${CI_FORGE_URL##https://}
repo: ${CI_REPO_OWNER}/${CI_REPO_NAME}
repo: ${CI_REPO_OWNER}/${CI_REPO_NAME}:${GO_VERSION}
username:
from_secret: forge-username
password:

View file

@ -1,4 +1,4 @@
FROM golang:1.24
FROM golang:${GO_VERSION}
COPY entrypoint.sh /entrypoint.sh