mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
trigger docker deploy for tags
This commit is contained in:
parent
7e9c487d6b
commit
f7a6445ea7
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -178,7 +178,11 @@ jobs:
|
||||
|
||||
# Separate from everything else because slow.
|
||||
build-and-deploy-docker:
|
||||
if: github.repository == 'mitmproxy/mitmproxy' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dockertest')
|
||||
if: github.repository == 'mitmproxy/mitmproxy' && (
|
||||
github.ref == 'refs/heads/main' ||
|
||||
github.ref == 'refs/heads/dockertest' ||
|
||||
startsWith(github.ref, 'refs/tags/')
|
||||
)
|
||||
environment: deploy-docker
|
||||
needs:
|
||||
- test
|
||||
|
Loading…
Reference in New Issue
Block a user