Skip to content

Commit b3c877f

Browse files
authored
Merge pull request #2384 from microsoft/ci/fix-release-publish-docker-image
ci: fix image tag when publishing from git tag
2 parents 5b73c15 + 39b9a47 commit b3c877f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ extends:
466466
--platform linux/amd64,linux/arm64/v8 \
467467
--push \
468468
-t "$(REGISTRY)/$(IMAGE_NAME):latest" \
469-
-t "$(REGISTRY)/$(IMAGE_NAME):${VERSION}.${BUILDDATE}${RUNNUMBER}" \
469+
-t "$(REGISTRY)/$(IMAGE_NAME):${VERSION}" \
470470
"$(Pipeline.Workspace)"
471471
displayName: 'Build and Push Release Image'
472472
condition: contains(variables['Build.SourceBranch'], 'refs/tags/v')

0 commit comments

Comments
 (0)