From 5d14177f588614354bc9b08dbc794410874de821 Mon Sep 17 00:00:00 2001 From: Florian Brinker Date: Mon, 10 May 2021 18:23:41 +0200 Subject: [PATCH] Change "target" label to "docker" --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 3232694..5e7c41b 100755 --- a/build.sh +++ b/build.sh @@ -26,14 +26,14 @@ docker_tag_exists() { } source_repo="${1-resoai/TileBoard}" -target_repo="${2-fbrinker/tileboard}" +docker_repo="${2-fbrinker/tileboard}" echo "Source repository: $source_repo." -echo "Target repository: $target_repo." +echo "Docker repository: $docker_repo." LATEST_RELEASE=`getVersionFromLatestRelease $source_repo` echo "Latest release is: $LATEST_RELEASE." -if docker_tag_exists $target_repo $LATEST_RELEASE; then +if docker_tag_exists $docker_repo $LATEST_RELEASE; then echo "Nothing to do. Latest release tag already exists." exit 78 # drone.io exit code to stop but success the pipeline fi