@@ -130,9 +130,10 @@ jobs:
130130 OS="${platform%%:*}"
131131 ARCH="${platform#*:}"
132132
133- echo "🔨 Building Thunder backend for $OS/$ARCH..."
133+ echo "🔨 Building Thunder backend & frontend for $OS/$ARCH..."
134134 make build_backend OS=$OS ARCH=$ARCH
135-
135+ make build_frontend OS=$OS ARCH=$ARCH
136+
136137 # Optional: Add a small delay to prevent resource contention
137138 sleep 1
138139 done
@@ -163,58 +164,59 @@ jobs:
163164 git tag -a "$TAG_VERSION" -m "Release $TAG_VERSION"
164165 git push origin "$TAG_VERSION"
165166
166- - name : 🐳 Set up Docker Buildx
167- uses : docker/setup-buildx-action@v3
167+ # Docker steps skipped for this release
168+ # - name: 🐳 Set up Docker Buildx
169+ # uses: docker/setup-buildx-action@v3
168170
169- - name : 🔐 Log in to GitHub Container Registry
170- uses : docker/login-action@v3
171- with :
172- registry : ghcr.io
173- username : ${{ github.actor }}
174- password : ${{ secrets.GITHUB_TOKEN }}
171+ # - name: 🔐 Log in to GitHub Container Registry
172+ # uses: docker/login-action@v3
173+ # with:
174+ # registry: ghcr.io
175+ # username: ${{ github.actor }}
176+ # password: ${{ secrets.GITHUB_TOKEN }}
175177
176- - name : 📥 Download Shared Certificates for Docker
177- uses : actions/download-artifact@v4
178- with :
179- name : thunder-certificates
180- path : target/out/.cert/
178+ # - name: 📥 Download Shared Certificates for Docker
179+ # uses: actions/download-artifact@v4
180+ # with:
181+ # name: thunder-certificates
182+ # path: target/out/.cert/
181183
182- - name : 📋 Prepare Docker Build Context
183- run : |
184- # Copy certificates into the Docker build context
185- mkdir -p docker-certs
186- cp target/out/.cert/server.cert docker-certs/
187- cp target/out/.cert/server.key docker-certs/
188- echo "✅ Certificates prepared for Docker build context"
184+ # - name: 📋 Prepare Docker Build Context
185+ # run: |
186+ # # Copy certificates into the Docker build context
187+ # mkdir -p docker-certs
188+ # cp target/out/.cert/server.cert docker-certs/
189+ # cp target/out/.cert/server.key docker-certs/
190+ # echo "✅ Certificates prepared for Docker build context"
189191
190- - name : 🐳 Build and Push Multi-Arch Docker Image
191- run : |
192- # Convert repository name to lowercase for GHCR
193- REPO_NAME=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
194- IMAGE_NAME="ghcr.io/${REPO_NAME}"
195-
196- # Get version without 'v' prefix for Docker tags
197- DOCKER_VERSION="${{ github.event.inputs.version }}"
198- if [[ $DOCKER_VERSION == v* ]]; then
199- DOCKER_VERSION="${DOCKER_VERSION#v}"
200- fi
201-
202- echo "🐳 Building and pushing Docker image: ${IMAGE_NAME}:${DOCKER_VERSION}"
203-
204- # Build and push multi-arch image with version and latest tags
205- # Pass shared certificates as build context with paths relative to build context
206- docker buildx build \
207- --platform linux/amd64,linux/arm64 \
208- --tag "${IMAGE_NAME}:${DOCKER_VERSION}" \
209- --tag "${IMAGE_NAME}:latest" \
210- --build-arg CERT_FILE=docker-certs/server.cert \
211- --build-arg KEY_FILE=docker-certs/server.key \
212- --push \
213- .
214-
215- echo "✅ Docker image pushed successfully!"
216- echo "📦 Image available at: ${IMAGE_NAME}:${DOCKER_VERSION}"
217- echo "📦 Image available at: ${IMAGE_NAME}:latest"
192+ # - name: 🐳 Build and Push Multi-Arch Docker Image
193+ # run: |
194+ # # Convert repository name to lowercase for GHCR
195+ # REPO_NAME=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
196+ # IMAGE_NAME="ghcr.io/${REPO_NAME}"
197+ #
198+ # # Get version without 'v' prefix for Docker tags
199+ # DOCKER_VERSION="${{ github.event.inputs.version }}"
200+ # if [[ $DOCKER_VERSION == v* ]]; then
201+ # DOCKER_VERSION="${DOCKER_VERSION#v}"
202+ # fi
203+ #
204+ # echo "🐳 Building and pushing Docker image: ${IMAGE_NAME}:${DOCKER_VERSION}"
205+ #
206+ # # Build and push multi-arch image with version and latest tags
207+ # # Pass shared certificates as build context with paths relative to build context
208+ # docker buildx build \
209+ # --platform linux/amd64,linux/arm64 \
210+ # --tag "${IMAGE_NAME}:${DOCKER_VERSION}" \
211+ # --tag "${IMAGE_NAME}:latest" \
212+ # --build-arg CERT_FILE=docker-certs/server.cert \
213+ # --build-arg KEY_FILE=docker-certs/server.key \
214+ # --push \
215+ # .
216+ #
217+ # echo "✅ Docker image pushed successfully!"
218+ # echo "📦 Image available at: ${IMAGE_NAME}:${DOCKER_VERSION}"
219+ # echo "📦 Image available at: ${IMAGE_NAME}:latest"
218220
219221 - name : 📝 Calculate Next Version
220222 id : next_version
0 commit comments