File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252 if : ${{ secrets.DOCKERHUB_USERNAME != '' }}
5353
5454 - name : Create staging
55- if : github.ref == 'refs/heads/main'
55+ if : github.ref == 'refs/heads/main' && ${{ secrets.DOCKERHUB_USERNAME != '' }}
5656 run : docker buildx imagetools create -t ${{ secrets.DOCKERHUB_USERNAME }}/cupcake:staging ${{ secrets.DOCKERHUB_USERNAME }}/cupcake:latest
57- if : ${{ secrets.DOCKERHUB_USERNAME != '' }}
5857
5958 - name : Upload reports if failed
6059 if : failure()
Original file line number Diff line number Diff line change 3939 if : ${{ secrets.DOCKERHUB_USERNAME != '' }}
4040
4141 - name : Create staging
42- if : github.ref == 'refs/heads/main'
42+ if : github.ref == 'refs/heads/main' && ${{ secrets.DOCKERHUB_USERNAME != '' }}
4343 run : docker buildx imagetools create -t ${{ secrets.DOCKERHUB_USERNAME }}/frosting:staging ${{ secrets.DOCKERHUB_USERNAME }}/frosting:latest
44- if : ${{ secrets.DOCKERHUB_USERNAME != '' }}
45-
4644
4745 - name : Generate summary
4846 run : |
You can’t perform that action at this time.
0 commit comments