diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index bb7cda0b0..01e65f528 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,16 +10,16 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Prepare source + - name: Checkout source run: | git clone --depth 1 https://github.com/chatwoot/chatwoot.git /source - ls -la /source/Dockerfile + ls /source/docker/Dockerfile - name: Build image run: | 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' . + DOCKER_BUILDKIT=0 docker build -t gitea.lealcyber.com/akadmin/chatwoot:test -f docker/Dockerfile --build-arg RAILS_ENV=production --build-arg BUNDLE_WITHOUT='development:test:enterprise' . - - name: Push + - name: Tag and verify run: | - echo "Build complete. Push will be configured later." + docker images gitea.lealcyber.com/akadmin/chatwoot:test