Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 366 Bytes

docker-build.md

File metadata and controls

27 lines (22 loc) · 366 Bytes
pool: my-pool

trigger:
  branches:
    include:
    - master
    - main

variables:
  DOCKER_BUILDKIT: 1

stages:
- stage: build

  jobs:
  - job: build
    displayName: build

    steps:
    - task: Docker@2
      displayName: build
      inputs:
        command: build
        repository: my-image
        tags: $(Build.BuildId) # Azure build variable