ci: disable buildkit for docker build
Build Chatwoot / build (push) Failing after 7s

This commit is contained in:
2026-07-23 19:30:57 +00:00
parent b160c1922a
commit d93468ffd4
+8 -12
View File
@@ -9,21 +9,17 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container:
volumes:
- /tmp/build-cache:/build-cache
steps:
- name: Prepare build context on host
- name: Prepare source
run: |
mkdir -p /build-cache/chatwoot
git clone --depth 1 https://github.com/chatwoot/chatwoot.git /build-cache/chatwoot
git clone --depth 1 https://github.com/chatwoot/chatwoot.git /source
ls -la /source/Dockerfile
- name: Build Docker image
- name: Build image
run: |
cd /build-cache/chatwoot
docker build -t gitea.lealcyber.com/akadmin/chatwoot:test --build-arg RAILS_ENV=production --build-arg BUNDLE_WITHOUT='development:test:enterprise' .
cd /source
DOCKER_BUILDKIT=0 docker build -t gitea.lealcyber.com/akadmin/chatwoot:test --build-arg RAILS_ENV=production --build-arg BUNDLE_WITHOUT='development:test:enterprise' .
- name: Push to registry
- name: Push
run: |
docker tag gitea.lealcyber.com/akadmin/chatwoot:test gitea.lealcyber.com/akadmin/chatwoot:latest
echo "Ready to push when GITEA_TOKEN secret is set"
echo "Build complete. Push will be configured later."