Skip to content

Commit e08a7de

Browse files
committed
Split docker iamge name from full to just keep the name without date
1 parent 1cbb73c commit e08a7de

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/compile_version_upload_s3.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ set -x # Echo commands
5353

5454
# Define variables
5555
SLEEP=350 # Container timeout
56-
OS="${OS:-ubuntu-22.04}" # Docker image name
56+
57+
# Docker image name
58+
# e.g. ubuntu-22.04-2022.03.15
59+
OS=$(echo $OS | cut -d- -f1,2)
5760

5861
TOOL=$(echo $1 | cut -d- -f1)
5962
VERSION=$(echo $1 | cut -d- -f2-)

0 commit comments

Comments
 (0)