@@ -3,6 +3,10 @@ name: "[Core] Deploy Feature Branch Build"
33# Unprivileged build workflow dispatched by deploy-feature-branch.yml.
44# SECURITY: This workflow has contents:read ONLY — no secrets, no write token.
55# It checks out and builds untrusted PR code in a safe sandbox.
6+ #
7+ # The Docker image is built from source via a multi-stage Dockerfile — no
8+ # pre-compiled artifacts are needed. On success, the OCI archive is uploaded
9+ # as an artifact for downstream promotion and deployment.
610
711on :
812 workflow_dispatch :
@@ -28,42 +32,10 @@ permissions:
2832 contents : read # strictly read-only — no secrets, no write token
2933
3034jobs :
31- backend-compile :
32- name : " 🔨 Backend Compile"
33- runs-on : ubuntu-latest
34- timeout-minutes : 10
35- steps :
36- - uses : actions/checkout@v7
37- with :
38- ref : ${{ inputs.head_sha }}
39- - uses : ./.github/actions/backend-compile
40-
41- frontend-build :
42- name : " 🎨 Frontend Build"
43- runs-on : ubuntu-latest
44- timeout-minutes : 15
45- steps :
46- - uses : actions/checkout@v7
47- with :
48- ref : ${{ inputs.head_sha }}
49- - uses : ./.github/actions/frontend-build
50-
51- backend-package :
52- name : " 📦 Backend Package"
53- needs : [frontend-build, backend-compile]
54- runs-on : ubuntu-latest
55- timeout-minutes : 15
56- steps :
57- - uses : actions/checkout@v7
58- with :
59- ref : ${{ inputs.head_sha }}
60- - uses : ./.github/actions/backend-package
61-
6235 docker-build :
6336 name : " 🐳 Docker Build"
64- needs : backend-package
6537 runs-on : ubuntu-latest
66- timeout-minutes : 20
38+ timeout-minutes : 30
6739 steps :
6840 - uses : actions/checkout@v7
6941 with :
0 commit comments