We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ec0c652 + e2c66fd commit ef96c49Copy full SHA for ef96c49
1 file changed
.github/workflows/action.yaml
@@ -43,8 +43,8 @@ jobs:
43
with:
44
username: ${{ secrets.DOCKERHUB_USERNAME }}
45
password: ${{ secrets.DOCKERHUB_TOKEN }}
46
- - name: Push to Docker Hub
47
- if: github.event_name != 'schedule'
+ - name: Push to Docker Hub for PR
+ if: github.ref != 'refs/heads/main' && github.event_name != 'schedule'
48
run: |
49
docker commit controller bobuhiro11/containerized-devstack-controller:${{ github.sha }}
50
docker commit compute-1 bobuhiro11/containerized-devstack-compute-1:${{ github.sha }}
0 commit comments