update formatting for azure pipelines
This commit is contained in:
parent
cbae2f577e
commit
688516ac33
1 changed files with 9 additions and 9 deletions
|
@ -53,32 +53,32 @@ jobs:
|
|||
|
||||
steps:
|
||||
- task: Docker@2
|
||||
displayName: "Build and Push Docker image (unstable)"
|
||||
displayName: 'Push Unstable Image'
|
||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
|
||||
inputs:
|
||||
repository: "jellyfin/jellyfin-web"
|
||||
repository: 'jellyfin/jellyfin-web'
|
||||
command: buildAndPush
|
||||
buildContext: '.'
|
||||
Dockerfile: "deployment/Dockerfile.docker"
|
||||
Dockerfile: 'deployment/Dockerfile.docker'
|
||||
containerRegistry: Docker Hub
|
||||
tags: |
|
||||
unstable-$(Build.BuildNumber)
|
||||
unstable
|
||||
|
||||
- task: Docker@2
|
||||
displayName: "Build and Push Docker image (stable)"
|
||||
displayName: 'Push Stable Image'
|
||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
|
||||
inputs:
|
||||
repository: "jellyfin/jellyfin-web"
|
||||
repository: 'jellyfin/jellyfin-web'
|
||||
command: buildAndPush
|
||||
buildContext: '.'
|
||||
Dockerfile: "deployment/Dockerfile.docker"
|
||||
Dockerfile: 'deployment/Dockerfile.docker'
|
||||
containerRegistry: Docker Hub
|
||||
tags: |
|
||||
stable-$(Build.BuildNumber)
|
||||
stable
|
||||
|
||||
- job: Collect
|
||||
- job: CollectArtifacts
|
||||
displayName: 'Collect Artifacts'
|
||||
|
||||
pool:
|
||||
|
@ -86,7 +86,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- task: SSH@0
|
||||
displayName: 'Collect packages into repositories (unstable)'
|
||||
displayName: 'Update Unstable Repository'
|
||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
|
||||
inputs:
|
||||
sshEndpoint: repository
|
||||
|
@ -94,7 +94,7 @@ jobs:
|
|||
inline: 'sudo /srv/repository/collect-server.azure.sh /srv/repository/incoming/azure $(Build.BuildNumber) unstable'
|
||||
|
||||
- task: SSH@0
|
||||
displayName: 'Collect packages into repositories (stable)'
|
||||
displayName: 'Update Stable Repository'
|
||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
|
||||
inputs:
|
||||
sshEndpoint: repository
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue