mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-07 15:38:27 +08:00
Feat/update actions (#3758)
This commit is contained in:
parent
5eb37ea2e3
commit
72a6878287
15
.github/workflows/docker-build.yaml
vendored
15
.github/workflows/docker-build.yaml
vendored
@ -1,16 +1,13 @@
|
|||||||
name: docker-build
|
name: docker-build
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
types: [ closed ]
|
||||||
- master
|
|
||||||
env:
|
env:
|
||||||
TZ: Asia/Shanghai
|
TZ: Asia/Shanghai
|
||||||
jobs:
|
jobs:
|
||||||
docker-build:
|
docker-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event.pull_request.merged == true
|
||||||
steps:
|
steps:
|
||||||
- name: Optimize Disk Space
|
- name: Optimize Disk Space
|
||||||
uses: hugoalh/disk-space-optimizer-ghaction@v0.8.0
|
uses: hugoalh/disk-space-optimizer-ghaction@v0.8.0
|
||||||
@ -125,14 +122,6 @@ jobs:
|
|||||||
docker build -t uswccr.ccs.tencentyun.com/chatchat/chatchat:${{ steps.imageTag.outputs.image_tag }} -f Dockerfile .
|
docker build -t uswccr.ccs.tencentyun.com/chatchat/chatchat:${{ steps.imageTag.outputs.image_tag }} -f Dockerfile .
|
||||||
- name: Show Images Size
|
- name: Show Images Size
|
||||||
run: docker images
|
run: docker images
|
||||||
- shell: bash
|
|
||||||
env:
|
|
||||||
CCRUSER: ${{ secrets.CCR_REGISTRY_USERNAME }}
|
|
||||||
CCRPASS: ${{ secrets.CCR_REGISTRY_PASSWORD }}
|
|
||||||
run: |
|
|
||||||
echo "user:$CCRUSER"
|
|
||||||
echo "pass:$CCRPASS"
|
|
||||||
|
|
||||||
- name: Login To Tencent CCR
|
- name: Login To Tencent CCR
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user