Skip to content

Commit

Permalink
chore: use rustls (#1)
Browse files Browse the repository at this point in the history
* chore: use rustls

* remove docker release
  • Loading branch information
sigoden committed Mar 3, 2023
1 parent 2ea37fc commit 0de680a
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 169 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down
228 changes: 88 additions & 140 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0de680a

Please sign in to comment.