File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 9494 uses : docker/setup-buildx-action@v3
9595
9696 - name : Login to Docker Hub
97- if : ${{ secrets.DOCKERHUB_USERNAME != '' && secrets.DOCKERHUB_TOKEN != '' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
97+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
9898 uses : docker/login-action@v3
9999 with :
100100 username : ${{ secrets.DOCKERHUB_USERNAME }}
@@ -104,14 +104,14 @@ jobs:
104104 uses : docker/build-push-action@v6
105105 with :
106106 context : ./apps/api
107- push : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && secrets.DOCKERHUB_USERNAME != '' && secrets.DOCKERHUB_TOKEN != '' }}
107+ push : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
108108 tags : ${{ secrets.DOCKERHUB_USERNAME }}/one-password-api:latest
109109
110110 - name : Build Web image
111111 uses : docker/build-push-action@v6
112112 with :
113113 context : ./apps/web
114- push : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && secrets.DOCKERHUB_USERNAME != '' && secrets.DOCKERHUB_TOKEN != '' }}
114+ push : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
115115 tags : ${{ secrets.DOCKERHUB_USERNAME }}/one-password-web:latest
116116
117117
You can’t perform that action at this time.
0 commit comments