We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57a0538 commit 4da40dcCopy full SHA for 4da40dc
1 file changed
.dockerhub/hooks/build
@@ -16,7 +16,14 @@ elif [[ $(echo "$DOCKER_TAG" | sed 's/.*-//') == "slim" ]]; then
16
--build-arg REMAGE_VERSION="$_version" \
17
-f "$DOCKERFILE_PATH" -t "$IMAGE_NAME" .
18
19
-else # use stable base image for all tagged versions
+# use stable base image for all tagged versions
20
+elif [[ "$DOCKER_TAG" == "latest" ]]; then
21
+ docker build \
22
+ --build-arg REMAGE_BASE_FLAVOR="latest" \
23
+ --build-arg REMAGE_VERSION="$SOURCE_BRANCH" \
24
+ -f "$DOCKERFILE_PATH" -t "$IMAGE_NAME" .
25
+
26
+else
27
docker build \
28
--build-arg REMAGE_BASE_FLAVOR="stable" \
29
--build-arg REMAGE_VERSION="$DOCKER_TAG" \
0 commit comments