Skip to content

Commit 0e04763

Browse files
author
marwan37
committed
add debug step
1 parent d76be82 commit 0e04763

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build-push-codespace.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,12 @@ jobs:
127127
128128
build-and-push:
129129
needs: [detect-changes, check-dockerfile]
130-
if: needs.check-dockerfile.outputs.dockerfile_exists == 'true'
131130
runs-on: ubuntu-latest
132131
strategy:
133132
matrix:
134133
project: ${{ fromJson(needs.detect-changes.outputs.matrix) }}
134+
if: needs.check-dockerfile.outputs.dockerfile_exists == 'true'
135+
135136
steps:
136137
- name: Checkout code
137138
uses: actions/checkout@v3
@@ -154,6 +155,12 @@ jobs:
154155
username: ${{ secrets.DOCKERHUB_USERNAME }}
155156
password: ${{ secrets.DOCKERHUB_PASSWORD }}
156157

158+
- name: Debug file structure
159+
run: |
160+
ls -la
161+
ls -la ${{ matrix.project }} || echo "Project directory not found"
162+
find . -name "Dockerfile.codespace"
163+
157164
- name: Build and push
158165
uses: docker/build-push-action@v4
159166
with:

0 commit comments

Comments
 (0)