Skip to content

Commit

Permalink
Updates deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
richmahn committed May 11, 2020
1 parent cb3cc27 commit ea663de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
DOCKER_TAGS="${REF//\//-}"
if [[ "${REF}" == "v"*"-dcs" ]]; then
# REF is a tag so we create tags for patch, minor and major versions and is the latest production
PATCH_VERSION=${PATCH_VERSION#v}
PATCH_VERSION=${REF%-dcs}
PATCH_VERSION=${REF#v}
PATCH_VERSION=${PATCH_VERSION%-dcs}
MINOR_VERSION=`echo ${PATCH_VERSION} | cut -f1,2 -d'.'`
MAJOR_VERSION=`echo ${MINOR_VERSION} | cut -f1 -d'.'`
DOCKER_TAGS="${DOCKER_TAGS},latest-prod,${MAJOR_VERSION},${MINOR_VERSION},${PATCH_VERSION}"
Expand Down

0 comments on commit ea663de

Please sign in to comment.