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:
|
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
|
||||||
|
|
Loading…
Reference in a new issue