1313
1414env :
1515 REGISTRY : ghcr.io
16- IMAGE_NAME : thevibeworks/ccyolo
16+ IMAGE_NAME : thevibeworks/deva
1717
1818jobs :
1919 build-and-push :
@@ -48,21 +48,69 @@ jobs:
4848 type=ref,event=tag
4949 type=raw,value=latest,enable={{is_default_branch}}
5050
51- - name : Build and push Docker image
51+ - name : Build and push base image
5252 uses : docker/build-push-action@v5
5353 with :
5454 context : .
55+ file : ./Dockerfile
5556 platforms : linux/amd64,linux/arm64
5657 push : true
5758 tags : ${{ steps.meta.outputs.tags }}
5859 labels : ${{ steps.meta.outputs.labels }}
5960 cache-from : type=gha
6061 cache-to : type=gha,mode=max
6162
63+ build-and-push-rust :
64+ name : Build and Push Rust Profile Image
65+ runs-on : ubuntu-latest
66+ needs : build-and-push
67+ permissions :
68+ contents : read
69+ packages : write
70+ steps :
71+ - name : Checkout
72+ uses : actions/checkout@v4
73+
74+ - name : Set up QEMU
75+ uses : docker/setup-qemu-action@v3
76+
77+ - name : Set up Docker Buildx
78+ uses : docker/setup-buildx-action@v3
79+
80+ - name : Log in to Container Registry
81+ uses : docker/login-action@v3
82+ with :
83+ registry : ${{ env.REGISTRY }}
84+ username : ${{ github.actor }}
85+ password : ${{ secrets.GITHUB_TOKEN }}
86+
87+ - name : Extract metadata for rust profile
88+ id : meta-rust
89+ uses : docker/metadata-action@v5
90+ with :
91+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
92+ tags : |
93+ type=ref,event=tag,suffix=-rust
94+ type=raw,value=rust,enable={{is_default_branch}}
95+
96+ - name : Build and push rust image
97+ uses : docker/build-push-action@v5
98+ with :
99+ context : .
100+ file : ./Dockerfile.rust
101+ platforms : linux/amd64,linux/arm64
102+ push : true
103+ tags : ${{ steps.meta-rust.outputs.tags }}
104+ labels : ${{ steps.meta-rust.outputs.labels }}
105+ cache-from : type=gha
106+ cache-to : type=gha,mode=max
107+ build-args : |
108+ BASE_IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
109+
62110 release :
63111 name : Create GitHub Release
64112 runs-on : ubuntu-latest
65- needs : build-and-push
113+ needs : [ build-and-push, build-and-push-rust]
66114 permissions :
67115 contents : write
68116 steps :
@@ -80,15 +128,15 @@ jobs:
80128 echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
81129 fi
82130
83- - name : Update version in claude .sh
131+ - name : Update version in deva .sh
84132 run : |
85133 VERSION="${{ steps.version.outputs.version }}"
86134 # Remove 'v' prefix if present
87135 VERSION=${VERSION#v}
88- sed -i "s/^VERSION=.*/VERSION=\"$VERSION\"/" claude .sh
136+ sed -i "s/^VERSION=.*/VERSION=\"$VERSION\"/" deva .sh
89137 git config --local user.email "action@github.com"
90138 git config --local user.name "GitHub Action"
91- git add claude .sh
139+ git add deva .sh
92140 git commit -m "Update version to $VERSION" || echo "No changes to commit"
93141
94142 - name : Generate release notes
@@ -105,15 +153,20 @@ jobs:
105153 else
106154 echo "## Initial Release" > release_notes.md
107155 echo "" >> release_notes.md
108- echo "First release of Claude Code YOLO - Docker wrapper for Claude CLI with safe YOLO mode ." >> release_notes.md
156+ echo "First release of deva - Multi-agent development environment for Claude Code, Codex, and other AI coding assistants ." >> release_notes.md
109157 fi
110158
111159 echo "" >> release_notes.md
112160 echo "## Docker Images" >> release_notes.md
113161 echo "" >> release_notes.md
162+ echo "**Base Profile (Python, Node, Go):**" >> release_notes.md
114163 echo "- \`ghcr.io/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.version }}\`" >> release_notes.md
115164 echo "- \`ghcr.io/${{ env.IMAGE_NAME }}:latest\`" >> release_notes.md
116165 echo "" >> release_notes.md
166+ echo "**Rust Profile (includes Rust toolchain):**" >> release_notes.md
167+ echo "- \`ghcr.io/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.version }}-rust\`" >> release_notes.md
168+ echo "- \`ghcr.io/${{ env.IMAGE_NAME }}:rust\`" >> release_notes.md
169+ echo "" >> release_notes.md
117170 echo "## Supported Architectures" >> release_notes.md
118171 echo "" >> release_notes.md
119172 echo "- linux/amd64" >> release_notes.md
0 commit comments