From 4bf865ba1b7cbfb32340d0f956ac0bcb29e60d40 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 14 Sep 2022 00:04:30 +0200 Subject: Use the EVENTLINE_JOB_NAME environment variable instead of reinventing the wheel --- www/build-images.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'www/build-images.sh') diff --git a/www/build-images.sh b/www/build-images.sh index 632cd3e..d306572 100755 --- a/www/build-images.sh +++ b/www/build-images.sh @@ -1,9 +1,7 @@ #!/usr/bin/env bash set -euo pipefail -NAME=$1 - -WORKDIR="/tmp/${NAME}" +WORKDIR="/tmp/${EVENTLINE_JOB_NAME}" cleanup() { rm -rf "${WORKDIR}" -- cgit v1.2.3