Allow to only push dev
-tagged images to Docker Hub.
#653
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a new main target to the top-level Makefile:
publish-multiarch-dev
. This target builds multi-architecture images ofodkfull
andodklite
,¹ tag them with adev
tag, and publish them to the Docker Hub.Inside the
dev
images, the ODK has version number$(VERSION)-dev
, to allow users who may use alternatively adev
image and a released image to know which one they are using at any time.With
dev
tagged images (obolibrary/odkfull:dev
), theobolibrary/odkdev
image becomes redundant and this PR removes it. Thebuild-dev
target, which uses to build theodkdev
image, now buildsodkfull:dev
.closes #648
¹ Building and pushing
odklite:dev
is necessary even if we only needodkfull:dev
, sinceodkfull
is built on top ofodklite
.