Skip to content

Commit

Permalink
Build stable tags
Browse files Browse the repository at this point in the history
  • Loading branch information
benbp committed Mar 20, 2024
1 parent 0650235 commit dd3d6ad
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions eng/pipelines/publish-docker-image-isolated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,16 @@ stages:
path: ${{ config.configPath }}
enableNetwork: true
useBuildKit: true
- ${{ if config.stableTags }}:
- ${{ each stableTag in config.stableTags }}:
- task: 1ES.BuildContainerImage@1
displayName: Build ${{ config.name }}:${{ stableTag }}
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
inputs:
image: ${{ parameters.ContainerRegistry }}.azurecr.io/${{ config.dockerRepo }}:${{ stableTag }}
path: ${{ config.configPath }}
enableNetwork: true
useBuildKit: true

- ${{ if and(parameters.ManifestDeployment, parameters.Publish) }}:
- ${{ each deployment in parameters.ManifestDeployment }}:
Expand Down

0 comments on commit dd3d6ad

Please sign in to comment.