mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 16:31:47 +00:00
docker-images: update script for zoekt versions (#12140)
This commit is contained in:
parent
daecb954a3
commit
f6ca985c27
@ -10,7 +10,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
# The images are tagged using the same pseudo-versions as go mod, so we
|
||||
# extract the version from our go.mod
|
||||
|
||||
version=$(go mod edit -print | awk '/sourcegraph\/zoekt/ {print substr($4, 2)}')
|
||||
version=$(go mod edit -print | awk '/sourcegraph\/zoekt/ {print substr($5, 2)}')
|
||||
|
||||
docker pull index.docker.io/sourcegraph/zoekt-webserver:"$version"
|
||||
docker tag index.docker.io/sourcegraph/zoekt-webserver:"$version" "$IMAGE"
|
||||
|
||||
@ -10,7 +10,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
# The images are tagged using the same pseudo-versions as go mod, so we
|
||||
# extract the version from our go.mod
|
||||
|
||||
version=$(go mod edit -print | awk '/sourcegraph\/zoekt/ {print substr($4, 2)}')
|
||||
version=$(go mod edit -print | awk '/sourcegraph\/zoekt/ {print substr($5, 2)}')
|
||||
|
||||
docker pull index.docker.io/sourcegraph/zoekt-indexserver:"$version"
|
||||
docker tag index.docker.io/sourcegraph/zoekt-indexserver:"$version" "$IMAGE"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user