mirror of
https://github.com/lanqian528/chat2api.git
synced 2026-06-05 21:03:53 +08:00
v1.5.11 latest
This commit is contained in:
parent
ebd6ec9a4b
commit
2d2ce1c4ed
9
.github/workflows/build_docker_dev.yml
vendored
9
.github/workflows/build_docker_dev.yml
vendored
@ -10,6 +10,7 @@ on:
|
||||
- 'docker-compose-warp.yml'
|
||||
- 'docs/**'
|
||||
- '.github/workflows/build_docker_main.yml'
|
||||
- '.github/workflows/build_docker_dev.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@ -24,8 +25,8 @@ jobs:
|
||||
id: get_version
|
||||
run: |
|
||||
version=$(cat version.txt)
|
||||
echo "Current version: $version-dev"
|
||||
echo "::set-output name=version::$version-dev"
|
||||
echo "Current version: v$version-dev"
|
||||
echo "::set-output name=version::v$version-dev"
|
||||
|
||||
- name: Commit and push version tag
|
||||
env:
|
||||
@ -34,8 +35,8 @@ jobs:
|
||||
version=${{ steps.get_version.outputs.version }}
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git tag "v$version"
|
||||
git push https://x-access-token:${GHCR_PAT}@github.com/lanqian528/chat2api.git "v$version"
|
||||
git tag "$version"
|
||||
git push https://x-access-token:${GHCR_PAT}@github.com/lanqian528/chat2api.git "$version"
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
9
.github/workflows/build_docker_main.yml
vendored
9
.github/workflows/build_docker_main.yml
vendored
@ -9,6 +9,7 @@ on:
|
||||
- 'docker-compose.yml'
|
||||
- 'docker-compose-warp.yml'
|
||||
- 'docs/**'
|
||||
- '.github/workflows/build_docker_main.yml'
|
||||
- '.github/workflows/build_docker_dev.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
@ -24,8 +25,8 @@ jobs:
|
||||
id: get_version
|
||||
run: |
|
||||
version=$(cat version.txt)
|
||||
echo "Current version: $version"
|
||||
echo "::set-output name=version::$version"
|
||||
echo "Current version: v$version"
|
||||
echo "::set-output name=version::v$version"
|
||||
|
||||
- name: Commit and push version tag
|
||||
env:
|
||||
@ -34,8 +35,8 @@ jobs:
|
||||
version=${{ steps.get_version.outputs.version }}
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git tag "v$version"
|
||||
git push https://x-access-token:${GHCR_PAT}@github.com/lanqian528/chat2api.git "v$version"
|
||||
git tag "$version"
|
||||
git push https://x-access-token:${GHCR_PAT}@github.com/lanqian528/chat2api.git "$version"
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
Loading…
Reference in New Issue
Block a user