Skip to content

fix: handle empty image targets in ECR names - #163

Merged
ilin-andrey merged 1 commit into
mainfrom
fix/empty-target-names
Nov 16, 2026
Merged

ilin-andrey merged 1 commit into
mainfrom
fix/empty-target-names

Conversation

@ilin-andrey

@ilin-andrey ilin-andrey commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fix Docker Bake builds with an explicit imageTarget: "", which currently produce an invalid ECR repository name such as service-. The repository now resolves to service, with the same name used for ECR operations, image tags, and registry caches.

Nonempty suffixes and fallback behavior for missing, null, or false values remain unchanged. This applies to all services using the shared Bake workflow.

Dependent changes using empty image targets must wait until this fix is released and the v9 tag is updated: kubernetes.yaml invokes build-image.yaml@v9 internally.

Related to https://github.com/parcelLab/Backend/pull/53083

Validation

  • Passed 13 local scenarios with AWS and Docker stubbed, covering empty/named suffixes, fallback values, existing repositories, and mixed-target rebuilds.
  • Passed actionlint .github/workflows/build-image.yaml, npm run lint, and git diff --check.
  • Repository-wide actionlint reports a pre-existing condition error in .github/workflows/docs.yaml:41.

Checklist

  • My change requires a change to the documentation
  • I have updated the documentation accordingly

@ilin-andrey
ilin-andrey marked this pull request as ready for review November 13, 2026 12:50
@ilin-andrey
ilin-andrey requested a review from a team as a code owner November 13, 2026 12:50
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 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-13T12:52:06.515703Z 24bf9fc Draft marked ready
ℹ️ 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.

@ilin-andrey
ilin-andrey merged commit 93f6347 into main Nov 16, 2026
17 checks passed
@ilin-andrey
ilin-andrey deleted the fix/empty-target-names branch November 16, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants