File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -22,24 +22,26 @@ jobs:
2222 setup_docker :
2323 name : Setup Docker Environment
2424 runs-on : ubuntu-22.04
25- continue-on-error : true # Don't fail the workflow if this job fails
2625 permissions :
2726 contents : read
2827 packages : read
2928 outputs :
3029 success : ${{ steps.test_image.outputs.success }}
31- # Try to use custom image from ghcr.io
32- container :
33- image : ghcr.io/wolfssl/build-wolfprovider-debian:bookworm
34- env :
35- DEBIAN_FRONTEND : noninteractive
36- options : --cap-add=NET_ADMIN --cap-add=NET_RAW
3730 steps :
3831 - name : Test custom image availability
3932 id : test_image
33+ continue-on-error : true
4034 run : |
41- echo "Custom Docker image is available and working"
42- echo "success=true" >> $GITHUB_OUTPUT
35+ # Try to pull the custom Docker image
36+ if docker pull ghcr.io/wolfssl/build-wolfprovider-debian:bookworm 2>/dev/null; then
37+ echo "✓ Custom Docker image is available"
38+ echo "success=true" >> $GITHUB_OUTPUT
39+ else
40+ echo "✗ Custom Docker image not available, will use fallback"
41+ echo "success=false" >> $GITHUB_OUTPUT
42+ fi
43+ # Always exit successfully so this job shows as passing
44+ exit 0
4345
4446 build_wolfprovider_common :
4547 name : Build wolfProvider
You can’t perform that action at this time.
0 commit comments