diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dec6dc5..d9ff78b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -86,7 +86,7 @@ jobs: require "json" version = ENV.fetch("MONGO_VERSION") - latest = JSON.parse(File.read("versions.json")).sort.last + latest = Dir["src/*"].map { |path| File.basename(path) }.sort.last tags = [ "a2ikm/sharded-mongo:#{version}",