mirror of
https://github.com/matrixgpt/matrix-chatgpt-bot.git
synced 2024-10-01 01:25:41 -04:00
32 lines
634 B
YAML
32 lines
634 B
YAML
|
name: ci
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [main]
|
||
|
pull_request:
|
||
|
branches: [main]
|
||
|
|
||
|
jobs:
|
||
|
docker:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
-
|
||
|
name: Checkout
|
||
|
uses: actions/checkout@v3
|
||
|
-
|
||
|
name: Set up Docker Buildx
|
||
|
uses: docker/setup-buildx-action@v2
|
||
|
-
|
||
|
name: Build Docker Image
|
||
|
uses: docker/build-push-action@v3
|
||
|
with:
|
||
|
context: .
|
||
|
push: false
|
||
|
platforms: linux/amd64
|
||
|
cache-from: type=gha
|
||
|
cache-to: type=gha,mode=max
|
||
|
# -
|
||
|
# name: Run Tests
|
||
|
# run: |
|
||
|
# # Add commands to run your tests here
|