Skip to content

Update copy-base-images pipeline to use publishConfig pattern - #38

Merged
lbussell merged 3 commits into
update-copy-base-imagesfrom
copilot/update-copy-base-images-pipeline
Jan 8, 2026
Merged

lbussell merged 3 commits into
update-copy-base-imagesfrom
copilot/update-copy-base-images-pipeline

Conversation

Copilot AI commented Jan 7, 2026 •

Copy link
Copy Markdown

The copy-base-images public mirror pipeline was not initializing appsettings.json, causing ACR authentication failures. This follows the fix pattern from dotnet#1915 which updated check-base-image-updates.

Changes

  • Pipeline structure (eng/pipelines/mirror-base-images.yml)

    • Changed from 1es-official.yml to 1es.yml with publish-config-prod.yml wrapper
    • Moved inline stages to new template
  • New stages template (eng/pipelines/templates/stages/mirror-base-images.yml)

    • Accepts publishConfig from wrapper and passes to jobs
    • Sets up PublicMirrorRegistry service connections
  • Job templates

    • copy-base-images.yml: Added publishConfig parameter, passes to init-docker-linux.yml
    • copy-base-images-public-mirror.yml: Uses publishConfig.PublicMirrorRegistry instead of hardcoded variables
    • copy-base-images-staging.yml: Passes publishConfig through to base template

The init-docker-linux.yml template generates appsettings.json from publishConfig, enabling ImageBuilder to authenticate with ACR.

Pattern matches check-base-image-updates pipeline structure:

extends:
  template: /eng/docker-tools/templates/1es.yml@self
  parameters:
    stages:
    - template: /eng/docker-tools/templates/stages/dotnet/publish-config-prod.yml@self
      parameters:
        stagesTemplate: /eng/pipelines/templates/stages/mirror-base-images.yml@self
Original prompt

Look at the most recent commit's context and content. It updated the check base images pipeline to use the new format. Update the copy base images public pipeline in the same manner.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Update copy base images pipeline to new format Update copy-base-images pipeline to use publishConfig pattern Jan 7, 2026
Copilot AI requested a review from lbussell January 7, 2026 16:28
@lbussell
lbussell marked this pull request as ready for review January 8, 2026 15:57
@lbussell
lbussell merged commit 115707d into update-copy-base-images Jan 8, 2026
@lbussell
lbussell deleted the copilot/update-copy-base-images-pipeline branch January 8, 2026 15:57
lbussell added a commit that referenced this pull request Jan 8, 2026
* Initial plan

* Update copy-base-images pipeline to use new publishConfig format

Co-authored-by: lbussell <[email protected]>

* Remove default values for required parameters in copy-base-images-public-mirror

Co-authored-by: lbussell <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: lbussell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants