Skip to content

feat: dev container + publish image to GHCR#30

Merged
jlc488 merged 1 commit into
mainfrom
feat/devcontainer-and-ghcr-publish
Jun 6, 2026
Merged

feat: dev container + publish image to GHCR#30
jlc488 merged 1 commit into
mainfrom
feat/devcontainer-and-ghcr-publish

Conversation

@jlc488

@jlc488 jlc488 commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

무엇 / What

Dev Container 추가 + nginx 이미지를 GHCR 에 publish. Add a dev container and publish the nginx image to GHCR.

구성 / Details

  • .devcontainer/(Node 24) — 제네릭. 특정 백엔드(bookrecord 등)를 박지 않음 / generic, no consumer baked in
  • vite.config.ts: 프록시 타깃을 VITE_PROXY_TARGET 로 외부화 (기본 http://localhost:8080); 다른 백엔드는 .env.local
  • CI docker job: main push 시 ghcr.io/devslab-kr/devslab-kit-admin-ui:{latest,sha} build & push; PR 은 빌드만(push 안 함)

검증 / Verify

  • npm run build 로컬 통과 (vueuse #__PURE__ 경고는 비치명적)
  • 이 PR 의 CI 가 docker 이미지 빌드(push:false)로 검증

주의 / Note

첫 publish 후 GHCR 패키지를 Public 으로 전환하면 무료 + 인증 없이 pull. repo 에 link 하면 권한 연동.

Add .devcontainer (Node 24) for source-level development; generic, with no consumer-specific backend baked in.

Make the vite proxy target configurable via VITE_PROXY_TARGET (defaults to http://localhost:8080) so the console can point at any backend.

CI: build and push the nginx image to GHCR on main; PRs still build only (no push).
@jlc488 jlc488 merged commit 496e394 into main Jun 6, 2026
3 checks passed
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