jenkins-lib

Jenkins shared library
git clone https://git.in0rdr.ch/jenkins-lib.git
Log | Files | Refs | Pull requests |Archive | README

commit 9a1cdb093e814da2e7afb68bbb251180d1a46f95
parent 7030307362c26250b5cf566bb7256483564089fc
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Thu, 26 Feb 2026 08:12:55 +0100

Revert "feat(buildahbud): add platform"

This reverts commit 7030307362c26250b5cf566bb7256483564089fc.

Diffstat:
Msrc/BuildahBud.groovy | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/BuildahBud.groovy b/src/BuildahBud.groovy @@ -15,15 +15,14 @@ class BuildahBud implements Serializable { String imgTag = 'latest', String dockerFile = 'Dockerfile', String imgArch = 'arm64/v8', - String imgPlatform = 'arm64', String imgRegistry = 'haproxy.lan:5000', String stageName = 'build') { // $v can contain additional quoted strings def argList = buildArgs.collect{ k, v -> "--build-arg ${k}=\"${v}\""}.join(' ') def shCmd = sprintf( - 'buildah bud --no-cache --arch=%s --platform=%s %s -t %s/%s:%s -f %s %s', - imgArch, imgPlatform, argList, imgRegistry, imgName, imgTag, dockerFile, imgContext) + 'buildah bud --no-cache --arch=%s %s -t %s/%s:%s -f %s %s', + imgArch, argList, imgRegistry, imgName, imgTag, dockerFile, imgContext) script.stage(stageName) { script.echo "Building image ${imgRegistry}/${imgName}:${imgTag}..."