Skip to content

Commit d45f711

Browse files
author
Evans Aboge (from Dev Box)
committed
Remove extra preview suffix
1 parent 3b9feb6 commit d45f711

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ steps:
7474
docker build \
7575
--build-arg "version_suffix=preview.${BUILDDATE}${RUNNUMBER}" \
7676
-t "$(REGISTRY)/$(IMAGE_NAME):nightly" \
77-
-t "$(REGISTRY)/$(IMAGE_NAME):${VERSION}-preview.${BUILDDATE}${RUNNUMBER}" \
77+
-t "$(REGISTRY)/$(IMAGE_NAME):${VERSION}" \
7878
"$(Build.SourcesDirectory)"
7979
8080
echo "Pushing Docker image with nightly tag..."
8181
docker push "$(REGISTRY)/$(IMAGE_NAME):nightly"
82-
docker push "$(REGISTRY)/$(IMAGE_NAME):${VERSION}-preview.${BUILDDATE}${RUNNUMBER}"
82+
docker push "$(REGISTRY)/$(IMAGE_NAME):${VERSION}"
8383
displayName: 'Build and Push Nightly Image'
8484
condition: eq(variables['Build.SourceBranch'], variables['PREVIEW_BRANCH'])
8585

0 commit comments

Comments
 (0)