Skip to content

Commit aa46bd1

Browse files
committed
Fix latest tag check
1 parent 72444f3 commit aa46bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
versions=$(docker images lukechilds/bitcoind --format "{{.Tag}}" | grep amd64 | cut -d- -f1)
7979
for version in $versions; do
8080
tags=$(docker images lukechilds/bitcoind --format "{{.Tag}}" | grep $version- | sed 's/^/lukechilds\/bitcoind\:&/')
81-
if [[ $version = $LATEST_TAG ]]; then
81+
if [[ "${version}" = "v${LATEST_TAG}" ]]; then
8282
docker manifest create lukechilds/bitcoind:latest $tags
8383
docker manifest push lukechilds/bitcoind:latest
8484
fi

0 commit comments

Comments
 (0)