File tree Expand file tree Collapse file tree 1 file changed +2
-21
lines changed
Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change 8484 run : |
8585 mkdir -p .build
8686 tar -xf artifact.tar -C .build
87+ echo "Extracted files:"
88+ find .build -type f | head -20
8789
8890 - name : Retrieve AWS Account ID
8991 id : retrieve-account-id
@@ -99,27 +101,6 @@ jobs:
99101 docker pull "${{ env.ACCOUNT_ID }}.dkr.ecr.eu-west-2.amazonaws.com/cdk-utils-build-repo:latest"
100102 docker tag "${{ env.ACCOUNT_ID }}.dkr.ecr.eu-west-2.amazonaws.com/cdk-utils-build-repo:latest" cdk-utils-build-repo:latest
101103
102- - name : Check for version.txt in cdk-utils-build container
103- run : |
104- echo "🔍 Inspecting cdk-utils-build-repo:latest for version.txt"
105-
106- docker run --rm cdk-utils-build-repo:latest /bin/bash -c '
107- echo "Looking for version.txt in common paths..."
108-
109- for path in /version.txt /home/cdkuser/workspace/version.txt /app/version.txt /opt/version.txt; do
110- if [ -f "$path" ]; then
111- echo "✅ Found version.txt at $path"
112- echo "----------------------------------------"
113- cat "$path"
114- echo "----------------------------------------"
115- exit 0
116- fi
117- done
118-
119- echo "❌ version.txt not found in expected locations"
120- exit 1
121- '
122-
123104 - name : Configure AWS Credentials
124105 id : connect-aws
125106 uses : aws-actions/configure-aws-credentials@v4
You can’t perform that action at this time.
0 commit comments