push to docker hub only on tag refs

This commit is contained in:
Erin Grasmick
2020-07-15 14:17:06 +02:00
parent 986ff38e4e
commit 5c76ada912
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -30,5 +30,6 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
dockerfile: Dockerfile
repository: paritytech/substrate-telemetry-backend
push: ${{ startsWith(github.ref, 'refs/tags/') }}
tags: latest
add_git_labels: true
+1
View File
@@ -44,5 +44,6 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
dockerfile: Dockerfile
repository: paritytech/substrate-telemetry-frontend
push: ${{ startsWith(github.ref, 'refs/tags/') }}
tags: latest
add_git_labels: true