chore: workflow update

This commit is contained in:
Bill Church 2022-07-30 19:34:14 +00:00
parent a8457e96bf
commit 2d77dae40e

View file

@ -14,8 +14,6 @@ jobs:
steps: steps:
- name: 'Checkout' - name: 'Checkout'
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: 'env'
run: env
- name: Prepare - name: Prepare
id: prep id: prep
run: | run: |
@ -28,7 +26,7 @@ jobs:
fi fi
# If this is git branch, use the branch name as a docker tag # If this is git branch, use the branch name as a docker tag
if [[ $GITHUB_REF == refs/tags/* ]]; then if [[ $GITHUB_REF == refs/heads/* ]]; then
VERSION=${GITHUB_REF#refs/heads/} VERSION=${GITHUB_REF#refs/heads/}
TAGS="${DOCKER_IMAGE}:${VERSION}" TAGS="${DOCKER_IMAGE}:${VERSION}"
fi fi