diff --git a/internal/scripts/docker/hooks/build b/internal/scripts/docker/hooks/build index 631634c8..53917e2b 100644 --- a/internal/scripts/docker/hooks/build +++ b/internal/scripts/docker/hooks/build @@ -1,8 +1,13 @@ #!/bin/bash +# TODO: Add logic for handling dependencies +# - develop or branches from develop should build against develop +# - main_vX.Y or branches from main_vX.Y should build against main_v{X-3}.Y +# - vX.Y.Z tags should build against v{X-3}.Y.? tags + docker build -t $IMAGE_NAME \ ---build-arg METVIEWER_GIT_NAME=v6.0.0-beta1 \ ---build-arg METCALCPY_GIT_NAME=v3.0.0-beta1 \ ---build-arg METDATAIO_GIT_NAME=v3.0.0-beta1 \ ---build-arg METPLOTPY_GIT_NAME=v3.0.0-beta1 . +--build-arg METVIEWER_GIT_NAME=$SOURCE_BRANCH \ +--build-arg METCALCPY_GIT_NAME=develop \ +--build-arg METDATAIO_GIT_NAME=develop \ +--build-arg METPLOTPY_GIT_NAME=develop .