add doc string to get-docker-image-tag.sh
This commit is contained in:
parent
9ed2663b6e
commit
404f633f2b
|
@ -1,6 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# Description
|
||||
# Creates a string in a format: $GIT_SHA[:8][-$BUILD_TAGS]
|
||||
# where $BUILD_TAGS is optional and if present all spaces
|
||||
# are replaced by a hyphen (-).
|
||||
#
|
||||
# For example: BUILD_TAGS="tag1 tag2" ./_assets/ci/get-docker-image-tag.sh
|
||||
# will produce "12345678-tag1-tag2".
|
||||
|
||||
set -e -o pipefail
|
||||
|
||||
|
|
Loading…
Reference in New Issue