mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
build docker images only on main
This commit is contained in:
parent
dbc5352b5b
commit
15ce7e348c
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -178,7 +178,7 @@ 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.event_name == 'push'
|
if: github.repository == 'mitmproxy/mitmproxy' && github.ref == 'refs/heads/main'
|
||||||
environment: deploy-docker
|
environment: deploy-docker
|
||||||
needs:
|
needs:
|
||||||
- test
|
- test
|
||||||
|
Loading…
Reference in New Issue
Block a user