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: when:
- event: [push, manual] - event: [push, manual]
@ -6,7 +11,7 @@ steps:
image: woodpeckerci/plugin-kaniko image: woodpeckerci/plugin-kaniko
settings: settings:
registry: ${CI_FORGE_URL##https://} registry: ${CI_FORGE_URL##https://}
repo: ${CI_REPO_OWNER}/${CI_REPO_NAME} repo: ${CI_REPO_OWNER}/${CI_REPO_NAME}:${GO_VERSION}
username: username:
from_secret: forge-username from_secret: forge-username
password: password:

View file

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