From 40eef457ab5bf21814935828cb00c868c5ddbed7 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Mon, 18 Feb 2019 13:44:30 +0100 Subject: [PATCH] adding latest tag (fixes #48) --- scripts/publish.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/publish.sh b/scripts/publish.sh index 0d36494f..93d01e82 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -21,11 +21,13 @@ docker build -t thecodingmachine/gotenberg:base -f build/base/Dockerfile . docker build \ --build-arg GOLANG_VERSION=${GOLANG_VERSION} \ --build-arg VERSION=${VERSION} \ + -t thecodingmachine/gotenberg:latest \ -t thecodingmachine/gotenberg:${SEMVER[0]} \ -t thecodingmachine/gotenberg:${SEMVER[0]}.${SEMVER[1]} \ -t thecodingmachine/gotenberg:${SEMVER[0]}.${SEMVER[1]}.${SEMVER[2]} \ -f build/package/Dockerfile . +docker push "thecodingmachine/gotenberg:latest" docker push "thecodingmachine/gotenberg:${SEMVER[0]}" docker push "thecodingmachine/gotenberg:${SEMVER[0]}.${SEMVER[1]}" docker push "thecodingmachine/gotenberg:${SEMVER[0]}.${SEMVER[1]}.${SEMVER[2]}" \ No newline at end of file