Skip to content

Add GitHub Actions workflow to build and push backend image#15

Merged
echska merged 1 commit into
mainfrom
codex/build-docker-image-for-backend
May 18, 2026
Merged

Add GitHub Actions workflow to build and push backend image#15
echska merged 1 commit into
mainfrom
codex/build-docker-image-for-backend

Conversation

@echska
Copy link
Copy Markdown
Owner

@echska echska commented May 18, 2026

No description provided.

@echska echska merged commit 8bbe30b into main May 18, 2026
2 of 7 checks passed
Copy link
Copy Markdown

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

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: af1c32efa6

ℹ️ 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".

images: ${{ env.IMAGE_NAME }}
tags: |
type=sha
type=raw,value=latest
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Guard latest tag to default-branch builds only

workflow_dispatch runs can be started against non-main branches (GitHub’s manual run UI includes a branch selector), but this workflow always emits type=raw,value=latest; that means a manual run from a feature branch will publish that branch’s image as latest and overwrite the production-facing tag in GHCR. Restrict latest to default-branch builds (for example with metadata-action’s enable={{is_default_branch}} or a github.ref == 'refs/heads/main' guard) so manual test builds cannot retag release images.

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