trigger docker deploy for tags

This commit is contained in:
Maximilian Hils 2021-07-16 13:35:30 +02:00
parent 7e9c487d6b
commit f7a6445ea7

View File

@ -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