forked from tinyhumansai/openhuman
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (41 loc) · 1.05 KB
/
docker-ci-image.yml
File metadata and controls
41 lines (41 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: Build CI Docker Image
on:
push:
branches: [main]
paths:
- .github/Dockerfile
- .github/workflows/docker-ci-image.yml
- e2e/docker-entrypoint.sh
- .gitmodules
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