Files
openhuman/.github/workflows/docker-ci-image.yml
T
Steven EnamakelandGitHub bfe4918a85 Enhance E2E testing environment by updating Dockerfile and workflows (#376)
- Updated the Dockerfile to include additional system dependencies for E2E testing, such as xvfb, dbus, and webkit2gtk-driver, along with the installation of tauri-driver.
- Modified the docker-compose.yml to use the shared CI image for E2E tests, streamlining the build process and ensuring consistency across environments.
- Deprecated the previous E2E Dockerfile, consolidating the setup into the CI image for improved maintainability and reduced redundancy.
- Adjusted the GitHub Actions workflow to reflect changes in the Dockerfile and ensure proper context for building the image.
2026-04-06 14:26:30 -07:00

41 lines
928 B
YAML

name: Build CI Docker Image
on:
push:
branches: [main]
paths:
- ".github/Dockerfile"
- ".github/workflows/docker-ci-image.yml"
- "e2e/docker-entrypoint.sh"
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
build-image:
name: Build and push CI image
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: .github/Dockerfile
push: true
provenance: false
tags: |
ghcr.io/tinyhumansai/openhuman_ci:latest
ghcr.io/tinyhumansai/openhuman_ci:rust-1.93.0