Skip to content

ci: deploy backend images pinned by manifest digest - #411

Merged
LucHeart merged 1 commit into
developfrom
ci/digest-deploy
Nov 28, 2026
Merged

LucHeart merged 1 commit into
developfrom
ci/digest-deploy

Conversation

@LucHeart

@LucHeart LucHeart commented Nov 28, 2026 •

Copy link
Copy Markdown
Member
  • Drops the per-build sha image tag.
  • merge-image outputs the multi-arch manifest digest; merge job is unrolled so each image's digest is exposed as a job output.
  • Deploy dispatches send {"digests": {...}} instead of {"tag": ...}.

Requires OpenShock/kubernetes-cluster-gitops#9 to be merged at the same time.

@LucHeart
LucHeart requested a review from hhvrc as a code owner November 28, 2026 22:47
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T22:50:23.357847Z ba103e3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@LucHeart
LucHeart merged commit 646fa12 into develop Nov 28, 2026
15 of 16 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ba103e3d54

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

VERSION: ${{ steps.meta.outputs.version }}
run: |
set -euo pipefail
digest=$(docker buildx imagetools inspect "$IMAGE:$VERSION" --format '{{json .Manifest}}' | jq -r '.digest')

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Capture the digest before resolving the mutable tag

When two pushes to the same deploy branch overlap, this re-resolves $VERSION—the branch tag both runs push—after the current manifest was created, so the other run can move the tag first and this run may dispatch the other commit’s digest (or a mixed set across the three images). Capture the digest from this invocation of imagetools create instead; Docker documents --metadata-file for returning the create result’s digest (Docker CLI reference).

Useful? React with 👍 / 👎.

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.

1 participant