We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 302cf16 commit 77f9f02Copy full SHA for 77f9f02
.github/workflows/build.yaml
@@ -49,7 +49,7 @@ jobs:
49
sarif_file: 'trivy-results.sarif'
50
51
- name: Login to Docker Hub
52
- if: github.ref == 'refs/heads/master' && github.event_name == 'push'
+ if: (github.ref == 'refs/heads/master' && github.event_name == 'push') || contains(github.ref, 'refs/tags/')
53
uses: docker/login-action@v1
54
with:
55
username: ${{ secrets.DOCKERHUB_USERNAME }}
0 commit comments