why didn't that work

This commit is contained in:
Neale Pickett 2020-09-18 14:43:23 -06:00
parent 2ff9d3a059
commit cf34a1a3be
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ jobs:
- name: Get current branch - name: Get current branch
id: vars id: vars
run: | run: |
echo "GITHUB_REF: $GITHUB_REF"
case $GITHUB_REF in case $GITHUB_REF in
refs/tags/*) refs/tags/*)
TAGS=latest,${GITHUB_REF#refs/tags/} TAGS=latest,${GITHUB_REF#refs/tags/}
@ -43,6 +44,7 @@ jobs:
TAGS=latest TAGS=latest
;; ;;
esac esac
echo "tags: $TAGS"
echo "::set-output name=tags::$TAGS" echo "::set-output name=tags::$TAGS"
- name: Login to GitHub Packages Docker Registry - name: Login to GitHub Packages Docker Registry