updated bee-dashboard image
CI / Build & deploy Cloudflare page (push) Successful in 2m13s

This commit is contained in:
2026-06-15 09:31:40 +08:00
parent b12eab85d3
commit 5d45075cce
3 changed files with 12 additions and 12 deletions
+9 -10
View File
@@ -21,8 +21,8 @@ jobs:
run: cp docker-images/bee-dashboard/_headers src/build
- name: Create archive
run: tar -czf docker-images/bee-dashboard/bee-dashboard.tar -C src/build .
- name: Publish archive to gitea.woggioni.net
run: curl --user woggioni:${{ secrets.PUBLISHER_TOKEN }} --upload-file docker-images/bee-dashboard/bee-dashboard.tar https://gitea.woggioni.net/api/packages/woggioni/generic/bee-dashboard/0.33.3/bee-dashboard.tar
# - name: Publish archive to gitea.woggioni.net
# run: curl --user woggioni:${{ secrets.PUBLISHER_TOKEN }} --upload-file docker-images/bee-dashboard/bee-dashboard.tar https://gitea.woggioni.net/api/packages/woggioni/generic/bee-dashboard/0.33.3/bee-dashboard.tar
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.4.0
with:
@@ -39,20 +39,19 @@ jobs:
- name: Build and push bee-dashboard images
uses: docker/build-push-action@v6
with:
context: "docker-images/bee-dashboard"
builder: multiplatform-builder
platforms: |
linux/amd64
linux/arm64
context: "docker-images/bee-dashboard"
push: true
pull: true
ssh: default=/home/luser/.ssh/id_ed25519
build-args: "VERSION=0.33.3"
tags: |
"gitea.woggioni.net/woggioni/bee-dashboard:0.33.3"
cache-from: type=registry,ref=gitea.woggioni.net/woggioni/bee-dashboard:buildx
cache-to: type=registry,mode=max,compression=zstd,image-manifest=true,oci-mediatypes=true,ref=gitea.woggioni.net/woggioni/bee-dashboard:buildx
- name: Deploy to Cloudflare
run: npx wrangler pages deploy --project-name bee-dashboard --branch main src/build
env:
CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
# - name: Deploy to Cloudflare
# run: npx wrangler pages deploy --project-name bee-dashboard --branch main src/build
# env:
# CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
# CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}