plea]sdaserg
Some checks failed
Build and Push API / build-api (push) Successful in 5m15s
Build and Push Dashboard / build-dashboard (push) Failing after 1h55m3s
Build and Push Worker / build-worker (push) Successful in 5m50s

This commit is contained in:
2026-04-06 18:02:28 +02:00
parent e7adcf933a
commit dccdd40cd9

View File

@@ -17,13 +17,8 @@ jobs:
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'
@@ -43,22 +38,16 @@ jobs:
type=sha,prefix=sha-,format=short
type=semver,pattern={{version}}
- name: Build
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: apps/start/Dockerfile
target: runner
platforms: linux/amd64
push: false
load: true
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
provenance: false
- name: Push
if: github.event_name != 'pull_request'
run: |
echo "${{ steps.meta.outputs.tags }}" | while IFS= read -r tag; do
docker push "$tag"
done
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.OWNER }}/openpanel-dashboard:buildcache
cache-to: ${{ github.event_name != 'pull_request' && format('type=registry,ref={0}/{1}/openpanel-dashboard:buildcache,mode=min,image-manifest=true,oci-mediatypes=true', env.REGISTRY, env.OWNER) || '' }}