Skip to content

Commit

Permalink
fix(ci): fix bad substitution in docker tag script
Browse files Browse the repository at this point in the history
  • Loading branch information
tkohr committed Jun 11, 2024
1 parent 555f216 commit 003d276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/print-docker-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
appName=$1
gitTag=$(git describe --exact-match --tags 2>/dev/null | sed "s/^v//") # remove "v" in front of version if any
gitRef=$(git rev-parse --short HEAD)
dockerTag=${gitTag:-${"latest"}}
dockerTag=${gitTag:-"latest"}

echo "ghcr.io/camptocamp/mel-dataplatform/${appName}:${dockerTag}"

0 comments on commit 003d276

Please sign in to comment.