mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
cp visual designer build to yaml
This commit is contained in:
parent
34893f0690
commit
1eb86c5a8e
1 changed files with 25 additions and 14 deletions
|
|
@ -1,17 +1,28 @@
|
|||
trigger:
|
||||
- docker-devops
|
||||
|
||||
- docker-devops
|
||||
resources:
|
||||
-
|
||||
repo: self
|
||||
clean: true
|
||||
pool:
|
||||
vmImage: "Ubuntu-16.04"
|
||||
|
||||
variables:
|
||||
buildConfiguration: "Release"
|
||||
imageName: "FilterLists:$(Build.BuildId)"
|
||||
|
||||
vmImage: 'Hosted Ubuntu 1604'
|
||||
steps:
|
||||
- script: |
|
||||
docker-compose build
|
||||
docker login -u $(dockerId) -p $pswd
|
||||
docker-compose push --ignore-push-failures
|
||||
env:
|
||||
pswd: $(dockerPassword)
|
||||
-
|
||||
task: DockerCompose@0
|
||||
displayName: build
|
||||
inputs:
|
||||
containerregistrytype: 'Container Registry'
|
||||
dockerRegistryEndpoint: 'Docker Hub - collinbarrett'
|
||||
dockerComposeFile: docker-compose.yml
|
||||
dockerComposeCommand: build
|
||||
-
|
||||
task: DockerCompose@0
|
||||
displayName: push
|
||||
inputs:
|
||||
containerregistrytype: 'Container Registry'
|
||||
dockerRegistryEndpoint: 'Docker Hub - collinbarrett'
|
||||
dockerComposeFile: docker-compose.yml
|
||||
dockerComposeCommand: 'push --ignore-push-failures'
|
||||
-
|
||||
task: PublishBuildArtifacts@1
|
||||
displayName: publish
|
||||
|
|
|
|||
Loading…
Reference in a new issue