diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 90b565f..d3ee648 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,10 +10,8 @@ jobs: steps: - name: Trigger BuildKit Build run: | - # Delete old job if exists kubectl delete job build-manoon-headless-action -n gitea --ignore-not-found=true 2>/dev/null || true - # Create build job with build args cat << 'JOBEOF' | kubectl apply -f - apiVersion: batch/v1 kind: Job @@ -51,6 +49,7 @@ jobs: --opt build-arg:NEXT_PUBLIC_OPENPANEL_CLIENT_ID=fa61f8ae-0b5d-4187-a9b1-5a04b0025674 \ --opt build-arg:NEXT_PUBLIC_RYBBIT_HOST=https://rybbit.nodecrew.me \ --opt build-arg:NEXT_PUBLIC_RYBBIT_SITE_ID=1 \ + --no-cache \ --output type=image,name=ghcr.io/unchainedio/manoon-headless:latest,push=true volumeMounts: - name: workspace