mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 18:03:50 +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.
|
# Separate from everything else because slow.
|
||||||
build-and-deploy-docker:
|
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
|
environment: deploy-docker
|
||||||
needs:
|
needs:
|
||||||
- test
|
- test
|
||||||
|
Loading…
Reference in New Issue
Block a user