This repository was archived by the owner on Feb 18, 2025. It is now read-only.
forked from feixuei/chatgpt-mirror-server
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7873f84
commit 4d502cf
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: 自动构建发布 | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-and-push: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 代码拉取 | ||
uses: actions/checkout@v2 | ||
|
||
- name: 初始化环境 | ||
run: | | ||
chmod +x ./.devcontainer/scripts/init.sh | ||
./.devcontainer/scripts/init.sh | ||
|
||
- name: Release | ||
run: | | ||
chmod +x ./release.sh | ||
./release.sh | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: 登录到docker | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
|