From dd542b9f189c13337df68a6ba4d22a8ffa3deb2c Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Thu, 27 Oct 2022 17:56:00 +0200 Subject: [PATCH] ci: replace concat with format strings Signed-off-by: Sam Therapy --- .drone.jsonnet | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index cb5d0cd..c95cc6f 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -3,7 +3,7 @@ local testing(version, arch) = { kind: 'pipeline', type: 'docker', - name: version + '-' + arch, + name: '%s-%s' % [version, arch], platform: { arch: arch, }, @@ -17,7 +17,7 @@ local testing(version, arch) = { }, { name: 'cache', - image: 'golang:' + version, + image: 'golang:%s' % [version], commands: [ 'go mod tidy', ], @@ -33,7 +33,7 @@ local testing(version, arch) = { }, { name: 'test', - image: 'golang:' + version, + image: 'golang:%s' % [version], commands: [ 'make test-ci', ], @@ -49,7 +49,7 @@ local testing(version, arch) = { }, { name: 'fuzz', - image: 'golang:' + version, + image: 'golang:%s' % [version], commands: [ 'make fuzz-ci', ],