@@ -163,58 +163,59 @@ jobs:
163163 git tag -a "$TAG_VERSION" -m "Release $TAG_VERSION"
164164 git push origin "$TAG_VERSION"
165165
166- - name : 🐳 Set up Docker Buildx
167- uses : docker/setup-buildx-action@v3
168-
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 }}
175-
176- - name : 📥 Download Shared Certificates for Docker
177- uses : actions/download-artifact@v4
178- with :
179- name : thunder-certificates
180- path : target/out/.cert/
181-
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"
166+ # Docker steps skipped for this release
167+ # - name: 🐳 Set up Docker Buildx
168+ # uses: docker/setup-buildx-action@v3
169+
170+ # - name: 🔐 Log in to GitHub Container Registry
171+ # uses: docker/login-action@v3
172+ # with:
173+ # registry: ghcr.io
174+ # username: ${{ github.actor }}
175+ # password: ${{ secrets.GITHUB_TOKEN }}
176+
177+ # - name: 📥 Download Shared Certificates for Docker
178+ # uses: actions/download-artifact@v4
179+ # with:
180+ # name: thunder-certificates
181+ # path: target/out/.cert/
182+
183+ # - name: 📋 Prepare Docker Build Context
184+ # run: |
185+ # # Copy certificates into the Docker build context
186+ # mkdir -p docker-certs
187+ # cp target/out/.cert/server.cert docker-certs/
188+ # cp target/out/.cert/server.key docker-certs/
189+ # echo "✅ Certificates prepared for Docker build context"
189190
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"
191+ # - name: 🐳 Build and Push Multi-Arch Docker Image
192+ # run: |
193+ # # Convert repository name to lowercase for GHCR
194+ # REPO_NAME=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
195+ # IMAGE_NAME="ghcr.io/${REPO_NAME}"
196+ #
197+ # # Get version without 'v' prefix for Docker tags
198+ # DOCKER_VERSION="${{ github.event.inputs.version }}"
199+ # if [[ $DOCKER_VERSION == v* ]]; then
200+ # DOCKER_VERSION="${DOCKER_VERSION#v}"
201+ # fi
202+ #
203+ # echo "🐳 Building and pushing Docker image: ${IMAGE_NAME}:${DOCKER_VERSION}"
204+ #
205+ # # Build and push multi-arch image with version and latest tags
206+ # # Pass shared certificates as build context with paths relative to build context
207+ # docker buildx build \
208+ # --platform linux/amd64,linux/arm64 \
209+ # --tag "${IMAGE_NAME}:${DOCKER_VERSION}" \
210+ # --tag "${IMAGE_NAME}:latest" \
211+ # --build-arg CERT_FILE=docker-certs/server.cert \
212+ # --build-arg KEY_FILE=docker-certs/server.key \
213+ # --push \
214+ # .
215+ #
216+ # echo "✅ Docker image pushed successfully!"
217+ # echo "📦 Image available at: ${IMAGE_NAME}:${DOCKER_VERSION}"
218+ # echo "📦 Image available at: ${IMAGE_NAME}:latest"
218219
219220 - name : 📝 Calculate Next Version
220221 id : next_version
0 commit comments