Skip to content

Commit 494d5b5

Browse files
author
Test User
committed
Add the correct path names
1 parent 83632ea commit 494d5b5

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/build-wolfprovider.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@ jobs:
2121
build_wolfprovider_common:
2222
name: Build wolfProvider
2323
runs-on: ubuntu-22.04
24-
# Run inside Debian Bookworm using container from ghcr.io/aidangarske/wolfprovider-build:bookworm
24+
# Run inside Debian Bookworm using container from ghcr.io/wolfSSL/build-wolfprovider-debian:bookworm
2525
# We are using this container to avoid having to install all the dependencies on the host machine
2626
# and speed up the build process.
27-
# TODO: Switch from aidangarske fork to main WP repo for the build container.
2827
container:
29-
image: ghcr.io/aidangarske/wolfprovider-build:bookworm
28+
image: ghcr.io/wolfSSL/build-wolfprovider-debian:bookworm
3029
env:
3130
DEBIAN_FRONTEND: noninteractive
3231
# Add network capabilities so ifconfig/RTNETLINK operations are permitted
@@ -92,21 +91,18 @@ jobs:
9291
fi
9392
# Copy OpenSSL packages based on replace_default setting
9493
if [ "${{ inputs.replace_default }}" = "true" ]; then
95-
if [ -d "${{ env.DEBS_PATH }}/openssl/replace-default" ] && [ "$(ls -A ${{ env.DEBS_PATH }}/openssl/replace-default/*.deb 2>/dev/null)" ]; then
94+
if [ -d "${{ env.DEBS_PATH }}/openssl/debs-replace-default" ] && [ "$(ls -A ${{ env.DEBS_PATH }}/openssl/debs-replace-default/*.deb 2>/dev/null)" ]; then
9695
echo "Copying OpenSSL replace-default packages..."
97-
cp ${{ env.DEBS_PATH }}/openssl/replace-default/*.deb ${{ env.OPENSSL_PACKAGES_PATH }}/
96+
cp ${{ env.DEBS_PATH }}/openssl/debs-replace-default/*.deb ${{ env.OPENSSL_PACKAGES_PATH }}/
9897
else
9998
echo "WARNING: No OpenSSL replace-default packages found in debs branch"
10099
fi
101100
else
102-
if [ -d "${{ env.DEBS_PATH }}/openssl/non-replace-default" ] && [ "$(ls -A ${{ env.DEBS_PATH }}/openssl/non-replace-default/*.deb 2>/dev/null)" ]; then
103-
echo "Copying OpenSSL non-replace-default packages..."
104-
cp ${{ env.DEBS_PATH }}/openssl/non-replace-default/*.deb ${{ env.OPENSSL_PACKAGES_PATH }}/
105-
elif [ -d "${{ env.DEBS_PATH }}/openssl" ] && [ "$(ls -A ${{ env.DEBS_PATH }}/openssl/*.deb 2>/dev/null)" ]; then
106-
echo "Copying OpenSSL packages (fallback to openssl/ directory)..."
107-
cp ${{ env.DEBS_PATH }}/openssl/*.deb ${{ env.OPENSSL_PACKAGES_PATH }}/
101+
if [ -d "${{ env.DEBS_PATH }}/openssl/debs-default" ] && [ "$(ls -A ${{ env.DEBS_PATH }}/openssl/debs-default/*.deb 2>/dev/null)" ]; then
102+
echo "Copying OpenSSL default packages..."
103+
cp ${{ env.DEBS_PATH }}/openssl/debs-default/*.deb ${{ env.OPENSSL_PACKAGES_PATH }}/
108104
else
109-
echo "WARNING: No OpenSSL packages found in debs branch"
105+
echo "WARNING: No OpenSSL default packages found in debs branch"
110106
fi
111107
fi
112108

0 commit comments

Comments
 (0)