Skip to content

Commit

Permalink
2.0 docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazee6 committed Apr 20, 2024
1 parent cc3852e commit b99916d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: docker
on:
push:
branches:
- main

jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
push: true
tags: jazee6/cloudflare-ai-web:latest
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ docker run -d --name cloudflare-ai-web \

https://developers.cloudflare.com/workers-ai/models/

你可以在`./utils/db.ts`中增删模型

## 部署说明

### 环境变量列表
Expand Down

0 comments on commit b99916d

Please sign in to comment.