Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit 75c6f19

Browse files
authored
[docker] Refine docker tag for build number (sonic-net#1484)
1 parent 1f4ce09 commit 75c6f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

push_docker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ docker load < $DOCKER_IMAGE_FILE
1818
docker_image_name=$(basename $DOCKER_IMAGE_FILE | cut -d. -f1)
1919
remote_image_name=$REGISTRY_SERVER:$REGISTRY_PORT/$docker_image_name:$DOCKER_IMAGE_TAG
2020
timestamp="$(date -u +%Y%m%d)"
21-
build_version="${timestamp}.${BUILD_NUMBER}"
21+
build_version="${timestamp}.bld-${BUILD_NUMBER}"
2222
build_remote_image_name=$REGISTRY_SERVER:$REGISTRY_PORT/$docker_image_name:$build_version
2323

2424
## Add registry information as tag, so will push as latest

0 commit comments

Comments
 (0)