Skip to content

Commit

Permalink
Feat/update actions (#3758)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuehua-s committed Apr 15, 2024
1 parent 5eb37ea commit 72a6878
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
name: docker-build
on:
push:
branches:
- master
pull_request:
branches:
- master
types: [ closed ]
env:
TZ: Asia/Shanghai
jobs:
docker-build:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Optimize Disk Space
uses: hugoalh/[email protected]
Expand Down Expand Up @@ -125,14 +122,6 @@ jobs:
docker build -t uswccr.ccs.tencentyun.com/chatchat/chatchat:${{ steps.imageTag.outputs.image_tag }} -f Dockerfile .
- name: Show Images Size
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
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit 72a6878

Please sign in to comment.