fix image tagging
continuous-integration/drone/push Build is passing Details

master
eater 5 years ago
parent b1311646c7
commit f55cdd652e
Signed by: eater
GPG Key ID: 656785D50BE51C0A

@ -10,7 +10,11 @@ test -d "${build_dir}" && rm -rf "${build_dir}";
for toolbox in "none" "toybox" "busybox" "default"; do for toolbox in "none" "toybox" "busybox" "default"; do
make IMAGE="${IMAGE}:${DATEPREFIX}-${toolbox}" TOOLBOX="${toolbox}" DOCKER_EXEC="${DOCKER_EXEC}" all > "${toolbox}.log"; make IMAGE="${IMAGE}:${DATEPREFIX}-${toolbox}" TOOLBOX="${toolbox}" DOCKER_EXEC="${DOCKER_EXEC}" all > "${toolbox}.log";
$DOCKER_EXEC tag "${IMAGE}:${DATEPREFIX}-${toolbox}" "${toolbox}"; $DOCKER_EXEC tag "${IMAGE}:${DATEPREFIX}-${toolbox}" "${IMAGE}:${toolbox}";
done done
$DOCKER_EXEC tag "${IMAGE}:${DATEPREFIX}-toybox" "${IMAGE}:${DATEPREFIX}";
make IMAGE="${IMAGE}:${DATEPREFIX}-glibc" TOOLBOX="toybox" ARCH="x86_64" DOCKER_EXEC="${DOCKER_EXEC}" all > "glibc.log"; make IMAGE="${IMAGE}:${DATEPREFIX}-glibc" TOOLBOX="toybox" ARCH="x86_64" DOCKER_EXEC="${DOCKER_EXEC}" all > "glibc.log";
$DOCKER_EXEC tag "${IMAGE}:${DATEPREFIX}-glibc" "${IMAGE}:glibc";
$DOCKER_EXEC tag "${IMAGE}:${DATEPREFIX}-toybox" "${IMAGE}:${DATEPREFIX}";
$DOCKER_EXEC tag "${IMAGE}:${DATEPREFIX}-toybox" "${IMAGE}:latest";

Loading…
Cancel
Save