summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-03-03 10:57:05 +0800
committerGitHub <noreply@github.com>2023-03-03 10:57:05 +0800
commit0de680a4e96f6b1675225e0a68cad54e646d8e00 (patch)
treed6232306869365cf562af67820a5b40f7a1ab15d /.github
parent2ea37fc8146987b2ff2e7a10937db09e148189b1 (diff)
downloadaichat-0de680a4e96f6b1675225e0a68cad54e646d8e00.tar.gz
chore: use rustls (#1)
* chore: use rustls * remove docker release
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yaml28
1 files changed, 0 insertions, 28 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index bde422e..4df6cd9 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -133,34 +133,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- docker:
- name: Publish to Docker Hub
- if: startsWith(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
- needs: release
- steps:
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
- - name: Login to DockerHub
- uses: docker/login-action@v1
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push
- uses: docker/build-push-action@v2
- with:
- build-args: |
- REPO=${{ github.repository }}
- VER=${{ github.ref_name }}
- platforms: |
- linux/amd64
- linux/arm64
- linux/386
- push: ${{ needs.release.outputs.rc == 'false' }}
- tags: ${{ github.repository }}:latest, ${{ github.repository }}:${{ github.ref_name }}
-
publish-crate:
name: Publish to crates.io
if: ${{ needs.release.outputs.rc == 'false' }}