Skip to content

Commit

Permalink
Split docker iamge name from full to just keep the name without date
Browse files Browse the repository at this point in the history
  • Loading branch information
humitos committed Apr 13, 2022
1 parent 1cbb73c commit e08a7de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/compile_version_upload_s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ set -x # Echo commands

# Define variables
SLEEP=350 # Container timeout
OS="${OS:-ubuntu-22.04}" # Docker image name

# Docker image name
# e.g. ubuntu-22.04-2022.03.15
OS=$(echo $OS | cut -d- -f1,2)

TOOL=$(echo $1 | cut -d- -f1)
VERSION=$(echo $1 | cut -d- -f2-)
Expand Down

0 comments on commit e08a7de

Please sign in to comment.