mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-28 21:44:38 +00:00
35 lines
913 B
YAML
35 lines
913 B
YAML
---
|
|
name: Build CI Docker Image
|
|
on:
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
jobs:
|
|
build-image:
|
|
name: Build and push CI image
|
|
runs-on: ubuntu-latest
|
|
environment: Production
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v5
|
|
with:
|
|
# vendored tauri-cef fork is compiled into the image
|
|
submodules: recursive
|
|
- 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
|