Skip to content

Commit

Permalink
Fix manifest image build (#6847)
Browse files Browse the repository at this point in the history
Our Docker image build template (image-linux.yaml) was recently modified to optionally build the manifest list too, as an optimization. But due to a copy/paste error, the template always builds the manifest list for Edge Agent instead of honoring the `manifestTemplate` param. This change fixes that problem. Note that currently, this feature is only being used for the auto-refresh builds.

I confirmed in a test environment that these changes have the desired effect.
  • Loading branch information
damonbarry authored Jan 11, 2023
1 parent ceb3d31 commit 2d7c98c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builds/misc/templates/image-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ steps:
scripts/linux/buildManifest.sh \
-r '$(registry.address)' \
-n microsoft \
-t 'edge-agent/docker/manifest.yaml.template' \
-t '${{ parameters.manifestTemplate }}' \
-v '$(version)' \
--tags '$(tags)'
displayName: Build Edge Agent Manifest
displayName: Build Image Manifest - ${{ parameters.name }}
condition: and(ne('${{ parameters.manifestTemplate }}', ''), succeeded())

0 comments on commit 2d7c98c

Please sign in to comment.