mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-15 15:44:26 -04:00
Fix tag logic
This commit is contained in:
parent
beb0502fb4
commit
8cdf43ec37
1 changed files with 2 additions and 2 deletions
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
|
@ -55,8 +55,8 @@ jobs:
|
|||
- name: Get publish tag
|
||||
id: publish
|
||||
run: |
|
||||
if [[ $GITHUB_REF != refs/tags/* ]]; then
|
||||
TAG="${GITHUB_REF##*/}"
|
||||
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||
TAG="${GITHUB_REF#refs/tags/}"
|
||||
else
|
||||
TAG=$GITHUB_SHA
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue