更新版本号为version
This commit is contained in:
parent
5b9786a501
commit
db83764b3a
|
|
@ -80,7 +80,7 @@ services:
|
|||
]
|
||||
|
||||
polaris-wvp:
|
||||
image: ${REGISTRY}polaris-wvp:2.7.7
|
||||
image: ${REGISTRY}polaris-wvp:latest
|
||||
restart: always
|
||||
networks:
|
||||
- media-net
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ PROJECT_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"
|
|||
# 配置变量
|
||||
REGISTRY="registry.t-aaron.com"
|
||||
IMAGE_NAME="polaris-wvp"
|
||||
VERSION="2.7.7"
|
||||
VERSION="latest"
|
||||
PLATFORM="linux/amd64"
|
||||
DOCKERFILE="Dockerfile.registry"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
set -e
|
||||
|
||||
#和docker-compose.yml中的version一致
|
||||
version=2.7.7
|
||||
version=latest
|
||||
|
||||
# Use current directory as build context to access both wvpcode and wvp folders
|
||||
docker build -f ./Dockerfile -t polaris-wvp:${version} .
|
||||
|
|
|
|||
Loading…
Reference in New Issue