feat: docker build process, and update ci/cd deployment branch to main

This commit is contained in:
JOYCEQL
2026-02-22 23:22:22 +08:00
parent 5b8454f68b
commit f25ae5bf6f
5 changed files with 161 additions and 27 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ name: Deploy to Cloudflare
on:
push:
branches:
- refacor/tanstack-start
- main
workflow_dispatch:
jobs:
@@ -32,4 +32,4 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: deploy
command: deploy
+2 -1
View File
@@ -33,6 +33,7 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
@@ -44,4 +45,4 @@ jobs:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}