feat: publish api, app and agent Docker images from release - #233
Closed
AndersSpringborg wants to merge 2 commits into
Closed
AndersSpringborg wants to merge 2 commits into
AndersSpringborg wants to merge 2 commits into
Conversation
|
@AndersSpringborg is attempting to deploy a commit to the Comp AI - PoC Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
|
Retargeted this onto
Nothing is wrong with your branch. If the diff now shows commits that are already on git fetch origin main
git rebase origin/main
git push --force-with-lease |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by cubic
Adds Docker support so pushes to
releasepublishapi,app, andagentimages to GitHub Container Registry, with documentation and a list of known risks.Publishing
Dockerfilewith three targets and a workflow that tags imageslatest, the rootpackage.jsonversion, andsha-<commit>.prisma migrate deploybefore listening, so start it before the app and agent.NEXT_PUBLIC_API_URLat build time; the workflow reads it from repository variables and defaults tohttp://localhost:3001.Known risks
Host: localhostfor local dev, so its port must never be exposed publicly.GITHUB_TOKEN, which may not trigger the Docker workflow; useAUTOMATION_TOKENor run it manually.linux/amd64images are built, and the app image is about 4.7 GB unpacked.Written for commit 09f9399. Summary will update on new commits.