pleas work 🙏
Some checks failed
Build and Push API / build-api (push) Successful in 8m12s
Build and Push Dashboard / build-dashboard (push) Failing after 1h57m15s
Build and Push Worker / build-worker (push) Successful in 7m26s

This commit is contained in:
2026-04-03 12:42:53 +02:00
parent 0089c8cdaf
commit 0946eb8e7a

View File

@@ -38,16 +38,24 @@ jobs:
type=sha,prefix=sha-,format=short
type=semver,pattern={{version}}
- name: Build and push
- name: Build
uses: docker/build-push-action@v6
with:
context: .
file: apps/start/Dockerfile
target: runner
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
push: false
load: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
provenance: false
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,ignore-error=true', env.REGISTRY, env.OWNER) || '' }}
- name: Push
if: github.event_name != 'pull_request'
run: |
echo "${{ steps.meta.outputs.tags }}" | while IFS= read -r tag; do
docker push "$tag"
done