Browse Source

Fix latest tag check

pull/14/head
Luke Childs 5 years ago
parent
commit
aa46bd1093
  1. 2
      .github/workflows/ci.yml

2
.github/workflows/ci.yml

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

Loading…
Cancel
Save