From 6e3286b8a70bded1f31994007a9d788986c6c4c5 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Mon, 10 Feb 2025 13:47:42 +0100 Subject: [PATCH] ci(azure-pipelines): push releases to registry --- .azure-pipelines/templates/jobs/release.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines/templates/jobs/release.yaml b/.azure-pipelines/templates/jobs/release.yaml index dff112582..b9d3602ca 100644 --- a/.azure-pipelines/templates/jobs/release.yaml +++ b/.azure-pipelines/templates/jobs/release.yaml @@ -48,7 +48,11 @@ jobs: --build-arg IN_CI=true \ --build-arg IN_CONTAINER=true \ . - # TODO: tag and push to registry + - task: Docker@2 + displayName: Push container to registry + inputs: + command: push + tags: '$(Build.BuildNumber),${{parameters.releaseTag}}' - task: Docker@2 displayName: Logout from container registry inputs: