4 Commits

Author SHA1 Message Date
a3ba6e16e4 fix(ci):split build&push phase
All checks were successful
Build and Push API / build-api (push) Successful in 5m54s
Build and Push Dashboard / build-dashboard (push) Successful in 14m30s
Build and Push Worker / build-worker (push) Successful in 1h18m47s
2026-04-09 10:53:16 +02:00
9a56e76dc1 Reapply "fix(ci):consolidate dashboard build workflow changes"
Some checks failed
Build and Push API / build-api (push) Successful in 5m35s
Build and Push Dashboard / build-dashboard (push) Successful in 14m7s
Build and Push Worker / build-worker (push) Failing after 5m30s
This reverts commit 53c989462a.
2026-04-09 09:17:57 +02:00
8ca774ad1c docs: trigger worker rebuild
Some checks failed
Build and Push API / build-api (push) Has been cancelled
Build and Push Dashboard / build-dashboard (push) Has been cancelled
Build and Push Worker / build-worker (push) Has been cancelled
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 09:17:06 +02:00
53c989462a Revert "fix(ci):consolidate dashboard build workflow changes"
This reverts commit 58414f1035.
2026-04-09 09:17:03 +02:00
2 changed files with 17 additions and 4 deletions

View File

@@ -14,11 +14,17 @@ env:
jobs:
build-worker:
runs-on: ubuntu-latest
timeout-minutes: 360
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: docker
- name: Log in to registry
if: github.event_name != 'pull_request'
@@ -38,18 +44,24 @@ jobs:
type=sha,prefix=sha-,format=short
type=semver,pattern={{version}}
- name: Build and push
- name: Build image
uses: docker/build-push-action@v6
with:
context: .
file: apps/worker/Dockerfile
target: runner
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
push: false
load: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
provenance: false
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.OWNER }}/openpanel-worker:buildcache
cache-to: ${{ github.event_name != 'pull_request' && format('type=registry,ref={0}/{1}/openpanel-worker:buildcache,mode=min,image-manifest=true,oci-mediatypes=true', env.REGISTRY, env.OWNER) || '' }}
build-args: |-
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres
- name: Push image
if: github.event_name != 'pull_request'
run: |-
while IFS= read -r tag; do
[ -n "$tag" ] && docker push "$tag"
done <<< "${{ steps.meta.outputs.tags }}"

View File

@@ -118,3 +118,4 @@ You can now access the following:
- Bullboard (queue): http://localhost:9999
- `pnpm dock:ch` to access clickhouse terminal
- `pnpm dock:redis` to access redis terminal
---