Skip to content

Commit 3d36cd2

Browse files
committed
fix: adc build
Signed-off-by: ashing <[email protected]>
1 parent 3d1808d commit 3d36cd2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/e2e-test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,18 @@ jobs:
7070
echo "building images..."
7171
make build-image
7272
73+
- name: Build Dockerfile.dev and extract adc binary
74+
run: |
75+
echo "Building Dockerfile.dev..."
76+
docker build -f Dockerfile.dev -t adc-builder:latest .
77+
echo "Extracting adc binary..."
78+
docker run --name adc-temp adc-builder:latest /bin/true
79+
docker cp adc-temp:/bin/adc ./bin/adc
80+
docker rm adc-temp
81+
chmod +x ./bin/adc
82+
mv ./bin/adc /usr/local/bin/adc
83+
echo "ADC binary extracted to /usr/local/bin/adc"
84+
7385
- name: Launch Kind Cluster
7486
run: |
7587
make kind-up

0 commit comments

Comments
 (0)