Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Update tag to parse release tag.
  • Loading branch information
tonya1 authored Sep 27, 2021
1 parent 341ca2e commit 03007f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
if: env.DOCKER_IMAGE_NAME != null
run: |
TAG="${GITHUB_REF#refs/heads/}"
TAG="${TAG#refs/tags/}"
TAG="${TAG//\//_}"
ORG=`echo "${{ secrets.DOCKER_PROJECT }}" | tr '[:upper:]' '[:lower:]'`
ORG="${ORG:-gridappsd}"
Expand All @@ -59,6 +60,7 @@ jobs:
if: env.DOCKER_IMAGE_NAME != null
run: |
TAG="${GITHUB_REF#refs/heads/}"
TAG="${TAG#refs/tags/}"
TAG="${TAG//\//_}"
ORG=`echo "${{ secrets.DOCKER_PROJECT }}" | tr '[:upper:]' '[:lower:]'`
ORG="${ORG:-gridappsd}"
Expand Down

0 comments on commit 03007f3

Please sign in to comment.