From 503bbb8f89c1c910cb1f81c75139ff1067d14a67 Mon Sep 17 00:00:00 2001 From: pips Date: Wed, 30 Jul 2025 21:57:04 +0200 Subject: [PATCH] feat(build): build for supported golang versions --- .woodpecker/build.yaml | 7 ++++++- Dockerfile | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 35939a3..812d894 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -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: diff --git a/Dockerfile b/Dockerfile index 0c03a1a..f46f0ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.24 +FROM golang:${GO_VERSION} COPY entrypoint.sh /entrypoint.sh