Set up CI with Azure Pipelines

[skip ci]
This commit is contained in:
Jason Kulatunga 2023-01-29 21:27:31 -08:00
parent 4b0fc2c0e8
commit 88affc1f23
1 changed files with 29 additions and 0 deletions

29
azure-pipelines.yml Normal file
View File

@ -0,0 +1,29 @@
# Docker
# Build a Docker image
# https://docs.microsoft.com/azure/devops/pipelines/languages/docker
trigger:
- main
resources:
- repo: self
variables:
tag: '$(Build.BuildId)'
stages:
- stage: Build
displayName: Build image
jobs:
- job: Build
displayName: Build
pool:
vmImage: ubuntu-latest
steps:
- task: Docker@2
displayName: Build an image
inputs:
command: build
dockerfile: '$(Build.SourcesDirectory)/Dockerfile'
tags: |
$(tag)