Skip to content

Instantly share code, notes, and snippets.

@rollendxavier
Created April 24, 2022 17:18
Show Gist options
  • Save rollendxavier/85da933e8042cf319ee50c521e50b7c4 to your computer and use it in GitHub Desktop.
Save rollendxavier/85da933e8042cf319ee50c521e50b7c4 to your computer and use it in GitHub Desktop.
trigger: none
pool:
vmImage: ubuntu-18.04
name: "$(Date:yyyyMMdd)$(Rev:.r)"
jobs:
- job: BuildAndPush
steps:
- task: Docker@2
inputs:
containerRegistry: 'app-service-connection'
repository: 'Container-App'
command: 'buildAndPush'
Dockerfile: '**/Dockerfile'
tags: '$(Build.BuildNumber)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment