diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release.yaml | 28 |
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' }} |
