Unverified Commit e6c37c04 authored by Jeff Rasley's avatar Jeff Rasley Committed by GitHub
Browse files

Azure pipeline for docker image build (#78)

* Set up CI with Azure Pipelines for docker build/push
parent fd53b56a
# Docker
# Build a Docker image
# https://docs.microsoft.com/azure/devops/pipelines/languages/docker
trigger:
- master
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: Login to Docker Hub
inputs:
command: login
containerRegistry: DeepSpeedDocker
- task: Docker@2
displayName: Build and Push
inputs:
command: buildAndPush
dockerfile: '$(Build.SourcesDirectory)/Dockerfile'
repository: deepspeed/deepspeed
tags: |
$(tag)
latest
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment