Skip to content

Align deploy workflows on canonical GHCR image name - #1

Merged
robo38 merged 2 commits into
mainfrom
copilot/fix-deploy-build-push-image
Sep 9, 2026
Merged

robo38 merged 2 commits into
mainfrom
copilot/fix-deploy-build-push-image

Conversation

Copilot AI commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

The failing deploy / Build & Push Image job was pushing to a GHCR package path that did not match the image path used by deployment. This update standardizes both build and deploy workflows on a single image target to prevent registry permission/push mismatches.

  • Root cause

    • Build steps were tagging/pushing ghcr.io/robticorg/robtic-staff while runtime deployment expects ghcr.io/robticorg/staff-system.
  • Workflow alignment

    • Introduced a shared workflow env variable:
      • IMAGE_NAME: ghcr.io/robticorg/staff-system
    • Updated docker/metadata-action image source to use IMAGE_NAME instead of ${{ github.repository }}.
    • Updated reusable deploy workflow input image-name to the same IMAGE_NAME.
  • Resulting invariant

    • All image-producing and image-consuming deploy paths now reference the same GHCR package.
env:
  IMAGE_NAME: ghcr.io/robticorg/staff-system

# build metadata
with:
  images: ${{ env.IMAGE_NAME }}

# reusable deploy workflow input
with:
  image-name: ${{ env.IMAGE_NAME }}

Co-authored-by: robo38 <65346960+robo38@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job for build and push image Align deploy workflows on canonical GHCR image name Sep 9, 2026
Copilot AI requested a review from robo38 September 9, 2026 13:16
@robo38
robo38 marked this pull request as ready for review September 9, 2026 13:20

@robo38 robo38 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wtf

@robo38
robo38 merged commit e8a9ff4 into main Sep 9, 2026
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