Commit 8c895dd0 by haoshuwei

update velero plugin version

Signed-off-by: haoshuwei <haoshuwei24@gmail.com>
parent b0af6830
...@@ -6,7 +6,7 @@ export GOARCH="amd64" ...@@ -6,7 +6,7 @@ export GOARCH="amd64"
export GOOS="linux" export GOOS="linux"
branch="master" branch="master"
version="v1.2" version="v1.0.0"
commitId=$GIT_SHA commitId=$GIT_SHA
buildTime=`date "+%Y-%m-%d-%H:%M:%S"` buildTime=`date "+%Y-%m-%d-%H:%M:%S"`
CGO_ENABLED=0 go build -ldflags "-X main._BRANCH_='$branch' -X main._VERSION_='$version-$commitId' -X main._BUILDTIME_='$buildTime'" -o _output/velero-plugin-for-alibabacloud ${GOPATH}/src/github.com/AliyunContainerService/velero-plugin/velero-plugin-for-alibabacloud CGO_ENABLED=0 go build -ldflags "-X main._BRANCH_='$branch' -X main._VERSION_='$version-$commitId' -X main._BUILDTIME_='$buildTime'" -o _output/velero-plugin-for-alibabacloud ${GOPATH}/src/github.com/AliyunContainerService/velero-plugin/velero-plugin-for-alibabacloud
......
...@@ -95,7 +95,7 @@ spec: ...@@ -95,7 +95,7 @@ spec:
- mountPath: /credentials - mountPath: /credentials
name: cloud-credentials name: cloud-credentials
initContainers: initContainers:
- image: registry.cn-hangzhou.aliyuncs.com/acs/velero-plugin-alibabacloud:v1.2-991b590 - image: registry.cn-hangzhou.aliyuncs.com/acs/velero-plugin-alibabacloud:v1.0.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: velero-plugin-alibabacloud name: velero-plugin-alibabacloud
volumeMounts: volumeMounts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment