Skip to content

Commit

Permalink
Per #521, more work is needed in the DockerHub build hook. For now, s…
Browse files Browse the repository at this point in the history
…witch to building against the develop version of the dependencies.
  • Loading branch information
JohnHalleyGotway committed Apr 19, 2024
1 parent 10ff9b1 commit 50f5577
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions internal/scripts/docker/hooks/build
Original file line number Diff line number Diff line change
@@ -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 .

0 comments on commit 50f5577

Please sign in to comment.