File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 9999 docker pull "${{ env.ACCOUNT_ID }}.dkr.ecr.eu-west-2.amazonaws.com/cdk-utils-build-repo:latest"
100100 docker tag "${{ env.ACCOUNT_ID }}.dkr.ecr.eu-west-2.amazonaws.com/cdk-utils-build-repo:latest" cdk-utils-build-repo:latest
101101
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+
102123 - name: Configure AWS Credentials
103124 id: connect-aws
104125 uses: aws-actions/configure-aws-credentials@v4
You can’t perform that action at this time.
0 commit comments