Skip to content

Commit

Permalink
Fix tag script bug
Browse files Browse the repository at this point in the history
  • Loading branch information
niclaslindstedt committed May 15, 2021
1 parent f237701 commit 58c6abe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ main() {

echo "Tagging images ($version, $major, $minor)"

docker tag "docker-backup:latest-docker" "$image:$version-docker"
docker tag "docker-backup:latest-docker" "$image:$major-docker"
docker tag "docker-backup:latest-docker" "$image:$minor-docker"
docker tag "docker-backup:latest" "$image:$version"
docker tag "docker-backup:latest" "$image:$major"
docker tag "docker-backup:latest" "$image:$minor"
docker tag "$image:latest-docker" "$image:$version-docker"
docker tag "$image:latest-docker" "$image:$major-docker"
docker tag "$image:latest-docker" "$image:$minor-docker"
docker tag "$image:latest" "$image:$version"
docker tag "$image:latest" "$image:$major"
docker tag "$image:latest" "$image:$minor"
}

SCRIPTDIR=$(dirname "$(readlink -f "$0")")
Expand Down

0 comments on commit 58c6abe

Please sign in to comment.