Skip to content

Commit

Permalink
Rename the docker image tag and friendly remind (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenyikuang authored Dec 18, 2023
1 parent 42da8b7 commit 55cfb81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy_docker.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
IMAGETAG=${OPENSTUDIO_VERSION}${OPENSTUDIO_VERSION_EXT}
echo "image would be tagged as $IMAGETAG if this were master branch"
echo "image would be tagged as "${IMAGETAG}-2204" if this were 2204-release branch"
IMAGETAG=skip

# Check branch name for correct tagging
Expand All @@ -14,7 +15,7 @@ elif [ "${GITHUB_REF}" == "refs/heads/master" ]; then
# Uncomment and set branch name for custom builds.
elif [ "${GITHUB_REF}" == "refs/heads/2204-release" ]; then
# Retrieve the version number from rails
IMAGETAG="${OPENSTUDIO_VERSION}${OPENSTUDIO_VERSION_EXT}:2204"
IMAGETAG="${OPENSTUDIO_VERSION}${OPENSTUDIO_VERSION_EXT}-2204"
# Uncomment and set branch name for custom builds.
elif [ "${GITHUB_REF}" == "refs/heads/custom_branch_name" ]; then
IMAGETAG="experimental"
Expand Down

0 comments on commit 55cfb81

Please sign in to comment.