File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 5353 username : ${{ github.actor }}
5454 password : ${{ secrets.GITHUB_TOKEN }}
5555
56+ - name : Checkout repository
57+ uses : actions/checkout@v4
58+
5659 - name : Clean git working directory
57- run : git clean -fdx
60+ run : git clean -fdx || echo "Warning: git clean failed, but continuing with the build process..."
5861
5962 - name : Build and push image
6063 uses : docker/build-push-action@v6
@@ -113,8 +116,11 @@ jobs:
113116 username : ${{ github.actor }}
114117 password : ${{ secrets.GITHUB_TOKEN }}
115118
119+ - name : Checkout repository
120+ uses : actions/checkout@v4
121+
116122 - name : Clean git working directory
117- run : git clean -fdx
123+ run : git clean -fdx || echo "Warning: git clean failed, but continuing with the build process..."
118124
119125 - name : Build and push image
120126 uses : docker/build-push-action@v6
You can’t perform that action at this time.
0 commit comments