ci: debug docker
Build Chatwoot / build (push) Failing after 7s

This commit is contained in:
2026-07-23 19:18:15 +00:00
parent 1d98b14228
commit c1614b52ef
+10 -12
View File
@@ -10,19 +10,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Debug Docker
run: |
apt-get update && apt-get install -y git docker.io 2>/dev/null
git clone --depth 1 https://github.com/chatwoot/chatwoot.git /source
whoami
docker --version
docker ps
ls -la /var/run/docker.sock
- name: Build Docker image
- name: Checkout
run: git clone --depth 1 https://github.com/chatwoot/chatwoot.git /source
- name: Build
run: |
cd /source
TAG=$(date +%Y%m%d-%H%M%S)
docker build -t gitea.lealcyber.com/akadmin/chatwoot:latest -t gitea.lealcyber.com/akadmin/chatwoot:$TAG .
- name: Push to registry
run: |
echo "${{ secrets.GITEA_TOKEN }}" | docker login gitea.lealcyber.com -u akadmin --password-stdin
docker push gitea.lealcyber.com/akadmin/chatwoot:latest
docker push gitea.lealcyber.com/akadmin/chatwoot:$(date +%Y%m%d-%H%M%S)
docker build -t gitea.lealcyber.com/akadmin/chatwoot:test .