Skip to content

Commit

Permalink
Add release pipeline (#4380)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweininger authored Sep 11, 2024
1 parent 4dbfc13 commit 0b99ac9
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .azure-pipelines/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
trigger: none # Only run this pipeline when manually triggered

parameters:
- name: publishVersion
displayName: Version to publish
type: string
- name: dryRun
displayName: Dry run
type: boolean
default: false

resources:
pipelines:
- pipeline: build # identifier to use in pipeline resource variables
source: \Azure Tools\VSCode\Extensions\vscode-docker # name of the pipeline that produces the artifacts
repositories:
- repository: azExtTemplates
type: github
name: microsoft/vscode-azuretools
ref: main
endpoint: GitHub-AzureTools # The service connection to use when accessing this repository

variables:
# Required by MicroBuild template
- name: TeamName
value: "Container Tools Team"

# Use those templates
extends:
template: azure-pipelines/release-extension.yml@azExtTemplates
parameters:
pipelineID: $(resources.pipeline.build.pipelineID)
runID: $(resources.pipeline.build.runID)
publishVersion: ${{ parameters.publishVersion }}
dryRun: ${{ parameters.dryRun }}
environmentName: VSCodeDockerExtensionPublish

0 comments on commit 0b99ac9

Please sign in to comment.