diff options
| author | Craig Andrews <candrews@integralblue.com> | 2023-06-27 23:20:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-27 21:20:41 -0600 |
| commit | e935d787ef7ed2fc6719cd2060b339664bee7746 (patch) | |
| tree | b3401480a77f07b5a137f8bf8bd3951424f05605 /.ci/azure-pipelines-package.yml | |
| parent | 1e38bc80de77a8e56d999be33fd38a2e1b6a9560 (diff) | |
chore(ci): add labels to docker images (#9210)
Diffstat (limited to '.ci/azure-pipelines-package.yml')
| -rw-r--r-- | .ci/azure-pipelines-package.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/azure-pipelines-package.yml b/.ci/azure-pipelines-package.yml index 1618237f1..c28b1bf7f 100644 --- a/.ci/azure-pipelines-package.yml +++ b/.ci/azure-pipelines-package.yml @@ -47,7 +47,7 @@ jobs: displayName: Set release version (stable) condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v') - - script: 'docker build -f deployment/Dockerfile.$(BuildConfiguration) -t jellyfin-server-$(BuildConfiguration) deployment' + - script: 'docker build -f deployment/Dockerfile.$(BuildConfiguration) -t jellyfin-server-$(BuildConfiguration) --label "org.opencontainers.image.url=$(Build.Repository.Uri)" --label "org.opencontainers.image.revision=$(Build.SourceVersion)" deployment' displayName: 'Build Dockerfile' - script: 'docker image ls -a && docker run -v $(pwd)/deployment/dist:/dist -v $(pwd):/jellyfin -e IS_UNSTABLE="yes" -e BUILD_ID=$(Build.BuildNumber) jellyfin-server-$(BuildConfiguration)' |
