mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
bugsink-server-unified: run in Docker
This commit is contained in:
@@ -9,12 +9,12 @@ echo "Building docker image with wheel file: $WHEEL_FILE"
|
||||
# if this a non-dev version, we tag the image with the full version number, major.minor, major, and latest
|
||||
# otherwise no tags are added
|
||||
|
||||
TAGS=""
|
||||
if [[ $WHEEL_FILE == *"dev"* ]]; then
|
||||
echo "This is a dev version, no tags will be added"
|
||||
TAGS="-t bugsink:dev"
|
||||
else
|
||||
VERSION=$(echo $WHEEL_FILE | cut -d'-' -f2)
|
||||
TAGS="-t bugsink:$VERSION -t bugsink:$(echo $VERSION | awk -F. '{print $1"."$2}') -t bugsink:$(echo $VERSION | awk -F. '{print $1}') -t bugsink:latest"
|
||||
TAGS="-t bugsink:$VERSION -t bugsink:$(echo $VERSION | awk -F. '{print $1"."$2}') -t bugsink:$(echo $VERSION | awk -F. '{print $1}') -t bugsink:latest -t bugsink"
|
||||
echo "This is a non-dev version, tags will be added: $TAGS"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user