Skip to content

Fix the image tag when build it with make command

Calvin Yu请求将github/fork/LinuxSuRen/fix-tag-name合并到master

Created by: LinuxSuRen

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Before change the tag name always be latest. See the following partial output:

@LinuxSuRen ➜ /workspaces/console (fix/devops-role ✗) $ make container
DRY_RUN=true TAG=fix-devops-role hack/docker_build.sh
+ set -o pipefail
+ TAG=fix-devops-role
+ REPO=kubespheredev
+ PUSH=
+ CONTAINER_CLI=docker
+ CONTAINER_BUILDER=build
+ docker build -f build/Dockerfile -t kubespheredev/ks-console:fix-devops-role .

see the partial output with this PR:

@LinuxSuRen ➜ /workspaces/console (fix/devops-role) $ make container
DRY_RUN=true TAG=fix-devops-role hack/docker_build.sh
+ set -o pipefail
+ TAG=fix-devops-role
+ REPO=kubespheredev
+ PUSH=
+ CONTAINER_CLI=docker
+ CONTAINER_BUILDER=build
+ docker build -f build/Dockerfile -t kubespheredev/ks-console:fix-devops-role .

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

None

Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:

None

合并请求报告

加载中