|
8 | 8 | env: |
9 | 9 | REGISTRY: ghcr.io |
10 | 10 | IMAGE_NAME: thevibeworks/deva |
| 11 | + GO_VERSION: 1.26.2 |
| 12 | + PLAYWRIGHT_VERSION: 1.59.1 |
| 13 | + PLAYWRIGHT_MCP_VERSION: 0.0.70 |
11 | 14 |
|
12 | 15 | permissions: |
13 | 16 | contents: read |
|
35 | 38 | - name: Setup Node |
36 | 39 | uses: actions/setup-node@v4 |
37 | 40 | with: |
38 | | - node-version: "22" |
| 41 | + node-version: "24" |
39 | 42 |
|
40 | 43 | - name: Resolve versions |
41 | 44 | id: versions |
|
59 | 62 |
|
60 | 63 | build-base: |
61 | 64 | name: Build Nightly Base Image |
62 | | - needs: resolve-versions |
| 65 | + needs: [resolve-versions, build-core] |
63 | 66 | runs-on: ubuntu-latest |
64 | 67 | steps: |
65 | 68 | - name: Checkout |
@@ -107,10 +110,60 @@ jobs: |
107 | 110 | GEMINI_CLI_VERSION=${{ needs.resolve-versions.outputs.gemini_cli_version }} |
108 | 111 | ATLAS_CLI_VERSION=${{ needs.resolve-versions.outputs.atlas_cli_version }} |
109 | 112 | COPILOT_API_VERSION=${{ needs.resolve-versions.outputs.copilot_api_version }} |
| 113 | + GO_VERSION=${{ env.GO_VERSION }} |
| 114 | +
|
| 115 | + build-core: |
| 116 | + name: Build Nightly Core Image |
| 117 | + needs: resolve-versions |
| 118 | + runs-on: ubuntu-latest |
| 119 | + steps: |
| 120 | + - name: Checkout |
| 121 | + uses: actions/checkout@v4 |
| 122 | + |
| 123 | + - name: Set up QEMU |
| 124 | + uses: docker/setup-qemu-action@v3 |
| 125 | + |
| 126 | + - name: Set up Docker Buildx |
| 127 | + uses: docker/setup-buildx-action@v3 |
| 128 | + |
| 129 | + - name: Log in to Container Registry |
| 130 | + uses: docker/login-action@v3 |
| 131 | + with: |
| 132 | + registry: ${{ env.REGISTRY }} |
| 133 | + username: ${{ github.actor }} |
| 134 | + password: ${{ secrets.GITHUB_TOKEN }} |
| 135 | + |
| 136 | + - name: Extract metadata |
| 137 | + id: meta-core |
| 138 | + uses: docker/metadata-action@v5 |
| 139 | + with: |
| 140 | + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} |
| 141 | + tags: | |
| 142 | + type=raw,value=nightly-core |
| 143 | + type=raw,value=nightly-${{ needs.resolve-versions.outputs.stamp }}-core |
| 144 | + labels: | |
| 145 | + org.opencontainers.image.title=deva-nightly-core |
| 146 | + org.opencontainers.image.description=Nightly deva core image for downstream profile builds |
| 147 | +
|
| 148 | + - name: Build and push core image |
| 149 | + uses: docker/build-push-action@v5 |
| 150 | + with: |
| 151 | + context: . |
| 152 | + file: ./Dockerfile |
| 153 | + target: agent-base |
| 154 | + platforms: linux/amd64,linux/arm64 |
| 155 | + push: true |
| 156 | + tags: ${{ steps.meta-core.outputs.tags }} |
| 157 | + labels: ${{ steps.meta-core.outputs.labels }} |
| 158 | + cache-from: type=gha,scope=nightly-core |
| 159 | + cache-to: type=gha,mode=max,scope=nightly-core |
| 160 | + build-args: | |
| 161 | + COPILOT_API_VERSION=${{ needs.resolve-versions.outputs.copilot_api_version }} |
| 162 | + GO_VERSION=${{ env.GO_VERSION }} |
110 | 163 |
|
111 | 164 | build-rust: |
112 | 165 | name: Build Nightly Rust Image |
113 | | - needs: [resolve-versions, build-base] |
| 166 | + needs: [resolve-versions, build-core] |
114 | 167 | runs-on: ubuntu-latest |
115 | 168 | steps: |
116 | 169 | - name: Checkout |
@@ -153,18 +206,26 @@ jobs: |
153 | 206 | cache-from: type=gha,scope=nightly-rust |
154 | 207 | cache-to: type=gha,mode=max,scope=nightly-rust |
155 | 208 | build-args: | |
156 | | - BASE_IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:nightly-${{ needs.resolve-versions.outputs.stamp }} |
| 209 | + BASE_IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:nightly-${{ needs.resolve-versions.outputs.stamp }}-core |
| 210 | + CLAUDE_CODE_VERSION=${{ needs.resolve-versions.outputs.claude_code_version }} |
| 211 | + CODEX_VERSION=${{ needs.resolve-versions.outputs.codex_version }} |
| 212 | + GEMINI_CLI_VERSION=${{ needs.resolve-versions.outputs.gemini_cli_version }} |
| 213 | + ATLAS_CLI_VERSION=${{ needs.resolve-versions.outputs.atlas_cli_version }} |
| 214 | + PLAYWRIGHT_VERSION=${{ env.PLAYWRIGHT_VERSION }} |
| 215 | + PLAYWRIGHT_MCP_VERSION=${{ env.PLAYWRIGHT_MCP_VERSION }} |
157 | 216 |
|
158 | 217 | summary: |
159 | 218 | name: Nightly Summary |
160 | | - needs: [resolve-versions, build-base, build-rust] |
| 219 | + needs: [resolve-versions, build-core, build-base, build-rust] |
161 | 220 | runs-on: ubuntu-latest |
162 | 221 | steps: |
163 | 222 | - name: Publish summary |
164 | 223 | run: | |
165 | 224 | cat <<EOF >> "$GITHUB_STEP_SUMMARY" |
166 | 225 | ## Published Nightly Images |
167 | 226 |
|
| 227 | + - \`ghcr.io/thevibeworks/deva:nightly-core\` |
| 228 | + - \`ghcr.io/thevibeworks/deva:nightly-${{ needs.resolve-versions.outputs.stamp }}-core\` |
168 | 229 | - \`ghcr.io/thevibeworks/deva:nightly\` |
169 | 230 | - \`ghcr.io/thevibeworks/deva:nightly-${{ needs.resolve-versions.outputs.stamp }}\` |
170 | 231 | - \`ghcr.io/thevibeworks/deva:nightly-rust\` |
|
0 commit comments