1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update formatting for azure pipelines

This commit is contained in:
dkanada 2020-06-15 19:49:17 +09:00
parent cbae2f577e
commit 688516ac33

View file

@ -53,32 +53,32 @@ jobs:
steps: steps:
- task: Docker@2 - task: Docker@2
displayName: "Build and Push Docker image (unstable)" displayName: 'Push Unstable Image'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master') condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
inputs: inputs:
repository: "jellyfin/jellyfin-web" repository: 'jellyfin/jellyfin-web'
command: buildAndPush command: buildAndPush
buildContext: '.' buildContext: '.'
Dockerfile: "deployment/Dockerfile.docker" Dockerfile: 'deployment/Dockerfile.docker'
containerRegistry: Docker Hub containerRegistry: Docker Hub
tags: | tags: |
unstable-$(Build.BuildNumber) unstable-$(Build.BuildNumber)
unstable unstable
- task: Docker@2 - task: Docker@2
displayName: "Build and Push Docker image (stable)" displayName: 'Push Stable Image'
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags') condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
inputs: inputs:
repository: "jellyfin/jellyfin-web" repository: 'jellyfin/jellyfin-web'
command: buildAndPush command: buildAndPush
buildContext: '.' buildContext: '.'
Dockerfile: "deployment/Dockerfile.docker" Dockerfile: 'deployment/Dockerfile.docker'
containerRegistry: Docker Hub containerRegistry: Docker Hub
tags: | tags: |
stable-$(Build.BuildNumber) stable-$(Build.BuildNumber)
stable stable
- job: Collect - job: CollectArtifacts
displayName: 'Collect Artifacts' displayName: 'Collect Artifacts'
pool: pool:
@ -86,7 +86,7 @@ jobs:
steps: steps:
- task: SSH@0 - task: SSH@0
displayName: 'Collect packages into repositories (unstable)' displayName: 'Update Unstable Repository'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master') condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
inputs: inputs:
sshEndpoint: repository sshEndpoint: repository
@ -94,7 +94,7 @@ jobs:
inline: 'sudo /srv/repository/collect-server.azure.sh /srv/repository/incoming/azure $(Build.BuildNumber) unstable' inline: 'sudo /srv/repository/collect-server.azure.sh /srv/repository/incoming/azure $(Build.BuildNumber) unstable'
- task: SSH@0 - task: SSH@0
displayName: 'Collect packages into repositories (stable)' displayName: 'Update Stable Repository'
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags') condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
inputs: inputs:
sshEndpoint: repository sshEndpoint: repository