|
|
@@ -5,6 +5,8 @@ on:
|
|
|
tags:
|
|
|
- '*'
|
|
|
|
|
|
+ workflow_dispatch:
|
|
|
+
|
|
|
env:
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
@@ -108,6 +110,7 @@ jobs:
|
|
|
draft: true
|
|
|
docker:
|
|
|
name: Publish to Docker Hub
|
|
|
+ if: startsWith(github.ref, 'refs/tags/')
|
|
|
runs-on: ubuntu-latest
|
|
|
needs: release
|
|
|
steps:
|
|
|
@@ -126,6 +129,7 @@ jobs:
|
|
|
tags: rapiz1/rathole:latest, rapiz1/rathole:${{ github.ref_name }}
|
|
|
publish-crate:
|
|
|
name: Publish to crates.io
|
|
|
+ if: startsWith(github.ref, 'refs/tags/')
|
|
|
runs-on: ubuntu-latest
|
|
|
needs: release
|
|
|
steps:
|