Skip to content

Commit

Permalink
fix(docker): use docker image field in env file
Browse files Browse the repository at this point in the history
  • Loading branch information
pbelmann committed Jan 25, 2019
1 parent 4b5f0b1 commit 3837818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/env
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

IMAGE_NAME_TAG=$(echo $IMAGE_NAME | cut -d ':' -f 2)

if ([[ $SOURCE_BRANCH = "prod" ]] || [[ $SOURCE_BRANCH == *.*.* ]]) && [[ $CACHE_TAG != *.*.*-staging ]] ; then
if ([[ $SOURCE_BRANCH = "prod" ]] || [[ $SOURCE_BRANCH == *.*.* ]]) && [[ $IMAGE_NAME_TAG != *.*.*-staging ]] ; then
ANGULAR_MODE="production"
else
ANGULAR_MODE="stage"
Expand Down

0 comments on commit 3837818

Please sign in to comment.