diff --git a/Dockerfile b/Dockerfile index 52653913..bc5af691 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM steeltoe.azurecr.io/documentation-metadata:3.1.3-2.5.5-1 AS build +FROM steeltoe.azurecr.io/documentation-metadata:3.2.0-2.5.5-3 AS build WORKDIR /docs COPY . . RUN docfx build -o build --globalMetadataFiles host.json diff --git a/azure-pipelines-metadata.yaml b/azure-pipelines-metadata.yaml index 1da98177..5a9e5de1 100644 --- a/azure-pipelines-metadata.yaml +++ b/azure-pipelines-metadata.yaml @@ -5,9 +5,7 @@ trigger: paths: include: - azure-pipelines-metadata.yaml - - build-metadata.sh - Dockerfile-metadata - - metadata.conf variables: - name: tagv3 @@ -29,8 +27,8 @@ stages: vmImage: ubuntu-latest steps: - bash: | - echo '2:'$(tagv2) > metadata-versions - echo '3:'$(tagv3) >> metadata-versions + echo '2:'$(tagv2) > metadata.conf + echo '3:'$(tagv3) >> metadata.conf displayName: Set Version - task: Docker@2 displayName: Build and Push