Skip to content

Commit

Permalink
Task: Bootstrap ACR Push
Browse files Browse the repository at this point in the history
  • Loading branch information
Evans Aboge (from Dev Box) committed Jan 28, 2025
1 parent fc236d6 commit 657b738
Showing 1 changed file with 31 additions and 16 deletions.
47 changes: 31 additions & 16 deletions .azure-pipelines/docker.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,35 @@
name: $(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)

trigger:
branches:
include:
- 'task/migrate-acr-pipeline'
paths:
include:
- src/**

schedules:
- cron: "0 18 * * 4"
displayName: "Weekly Publish Docker Image"
branches:
include:
- main
always: true

- dev

pr: none

variables:
REGISTRY: "msgraphprod.azurecr.io"
IMAGE_NAME: "public/openapi/kiota"
PREVIEW_BRANCH: "refs/heads/main
buildConfiguration: 'Release'
buildPlatform: 'Any CPU'

resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release

extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool:
name: Azure-Pipelines-1ESPT-ExDShared
vmImage: windows-latest
stages:
- stage: Build
jobs:
- job: build
steps:
- task: UseDotNet@2
displayName: 'Use .NET 8'
inputs:
version: 8.x

0 comments on commit 657b738

Please sign in to comment.