Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

fast-docker

Nick Sweetingdb6b0ae440cf
diff --git a/.github/workflows/build-base-image.yml b/.github/workflows/build-base-image.yml
new file mode 100644
index 000000000..bafc51ec9
--- /dev/null
+++ b/.github/workflows/build-base-image.yml
@@ -0,0 +1,43 @@
+name: Build Base Image
+
+on:
+ schedule:
+ - cron: '0 2 * * 1' # Weekly on Monday
+ workflow_dispatch:
+ push:
+ paths:
+ - 'Dockerfile.base'
+
+jobs:
+ build-base:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ platform: [linux/amd64, linux/arm64]
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v3
+
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v3
+
+ - name: Login to Docker Hub
+ uses: docker/login-action@v3
+ with:
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_PASSWORD }}
+
+ - name: Build and push base image
+ uses: docker/build-push-action@v5
+ with:
+ context: .
+ file: ./Dockerfile.base
+ platforms: ${{ matrix.platform }}
+ push: true
+ tags: |
+ browseruse/browseruse-base:chromium-138-${{ matrix.platform == 'linux/amd64' && 'amd64' || 'arm64' }}
+ browseruse/browseruse-base:latest-${{ matrix.platform == 'linux/amd64' && 'amd64' || 'arm64' }}
+ cache-from: type=registry,ref=browseruse/browseruse-base:buildcache-${{ matrix.platform == 'linux/amd64' && 'amd64' || 'arm64' }}
+ cache-to: type=registry,ref=browseruse/browseruse-base:buildcache-${{ matrix.platform == 'linux/amd64' && 'amd64' || 'arm64' }},mode=max