Skip to content

Commit

Permalink
Fix Docker Hub tags (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesconstable authored Nov 25, 2022
1 parent 399a424 commit 1425bae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ fi
IMAGE_NAME="$1"
VERSION="${2#v}"

echo "🏷️ Adding tags for image '${IMAGE_NAME}:base': ${VERSION}-base, latest"
echo "🏷️ Adding additional tags for image '${IMAGE_NAME}:base': ${VERSION}-base, latest"
docker tag "${IMAGE_NAME}:base" "${IMAGE_NAME}:${VERSION}-base"
docker tag "${IMAGE_NAME}:base" "${IMAGE_NAME}:latest"

echo "📤 Pushing '${IMAGE_NAME}:${TAG}-base', '${IMAGE_NAME}:base', and '${IMAGE_NAME}:latest'"
docker push "${IMAGE_NAME}:${TAG}-base"
echo "📤 Pushing '${IMAGE_NAME}:${VERSION}-base', '${IMAGE_NAME}:base', and '${IMAGE_NAME}:latest'"
docker push "${IMAGE_NAME}:${VERSION}-base"
docker push "${IMAGE_NAME}:base"
docker push "${IMAGE_NAME}:latest"

0 comments on commit 1425bae

Please sign in to comment.