chore: workflow update
This commit is contained in:
parent
a8457e96bf
commit
2d77dae40e
1 changed files with 1 additions and 3 deletions
4
.github/workflows/docker-multiplatform.yml
vendored
4
.github/workflows/docker-multiplatform.yml
vendored
|
@ -14,8 +14,6 @@ jobs:
|
|||
steps:
|
||||
- name: 'Checkout'
|
||||
uses: actions/checkout@v3
|
||||
- name: 'env'
|
||||
run: env
|
||||
- name: Prepare
|
||||
id: prep
|
||||
run: |
|
||||
|
@ -28,7 +26,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# 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/}
|
||||
TAGS="${DOCKER_IMAGE}:${VERSION}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue