You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build Azure image with a set flag shared_gallery_image_version_exclude_from_latest to "true". At the end of the build packer shows -> SIG image version exclude from latest : 'true', but the published image actually marked as latest:
Reproduction Steps
Create json template
To the builder add "shared_gallery_image_version_exclude_from_latest": "true"
Run packer build
At the end of the build make sure it contains line -> SIG image version exclude from latest : 'true'
Check for image "Exclude from latest" parameter in Azure
Windows Server 2022 x64 (MicrosoftWindowsServer, WindowsServer, 2022-datacenter-g2)
Log Fragments and crash.log files
==> azure-arm.build image: Publishing to Shared Image Gallery ...
==> azure-arm.build image: -> Source ID used for SIG publish : '/subscriptions/...'
==> azure-arm.build image: -> SIG publish resource group : 'imagesRG'
==> azure-arm.build image: -> SIG gallery name : 'gallery'
==> azure-arm.build image: -> SIG image name : 'image-def-update'
==> azure-arm.build image: -> SIG image version : '1.0.0'
==> azure-arm.build image: -> SIG target regions : '[westeurope]'
==> azure-arm.build image: -> SIG storage account type : ''
==> azure-arm.build image: -> SIG image version endoflife date : ''
==> azure-arm.build image: -> SIG image version exclude from latest : 'true'
==> azure-arm.build image: -> Shared Gallery Image Version ID : '/subscriptions/...'
==> azure-arm.build image:
The text was updated successfully, but these errors were encountered:
@tsvietOK I am having trouble reproducing this error, are you still experiencing this? The page you posted a screenshot of can be edited without making it clear that it's been modified, if you check on the Overview page on ACG, it shows the static element, can you confirm if you're still seeing this on images build? I wonder if there was a upstream Azure API issue that got resolved between when you opened the issue and today
Overview of the Issue
I am trying to build Azure image with a set flag
shared_gallery_image_version_exclude_from_latest
to "true". At the end of the build packer shows-> SIG image version exclude from latest : 'true'
, but the published image actually marked as latest:Reproduction Steps
"shared_gallery_image_version_exclude_from_latest": "true"
-> SIG image version exclude from latest : 'true'
Plugin and Packer version
Packer v1.11.0
Plugin v2.1.7
Simplified Packer Buildfile
File
Operating system and Environment details
Windows Server 2022 x64 (MicrosoftWindowsServer, WindowsServer, 2022-datacenter-g2)
Log Fragments and crash.log files
The text was updated successfully, but these errors were encountered: