mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-07-26 23:19:29 +02:00
Build the docker image in Azure
This commit is contained in:
parent
ed980a3d76
commit
a56ed3752b
@ -1,6 +1,31 @@
|
|||||||
pool:
|
stages:
|
||||||
vmImage: 'ubuntu-16.04'
|
- stage: Check
|
||||||
container: 'rust:latest'
|
jobs:
|
||||||
steps:
|
- job: Check
|
||||||
- script: cargo check --all
|
displayName: Sanity Check
|
||||||
displayName: Run check
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
container: 'rust:latest'
|
||||||
|
steps:
|
||||||
|
- script: cargo check --all
|
||||||
|
displayName: Run check
|
||||||
|
|
||||||
|
- stage: Build
|
||||||
|
jobs:
|
||||||
|
- job: BuildDocker
|
||||||
|
displayName: Build Docker Image
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
steps:
|
||||||
|
- task: Docker@2
|
||||||
|
displayName: Login to Dockerhub
|
||||||
|
inputs:
|
||||||
|
command: login
|
||||||
|
containerRegistry: Dockerhub
|
||||||
|
- task: Docker@2
|
||||||
|
displayName: Build and Push
|
||||||
|
inputs:
|
||||||
|
command: buildAndPush
|
||||||
|
repository: darwish/alma
|
||||||
|
tags: |
|
||||||
|
latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user