Skip to content

Commit d5d71ac

Browse files
committed
Retag newly built docker image to what the multi-server test environment expects it to be.
1 parent 84b6566 commit d5d71ac

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci-multi-server-tests.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,18 @@ jobs:
6060
./configure
6161
make docker.ubuntu22.build
6262
63+
# List all images
64+
docker images --all
65+
66+
# Retag image to what the compose/test harness expects
67+
docker tag freeradius4/ubuntu22:latest fr-build-ubuntu22:latest
68+
69+
docker images --format 'table {{.Repository}}\t{{.Tag}}\t{{.ID}}' | grep -E 'freeradius4/ubuntu22|fr-build-ubuntu22'
70+
6371
- name: Run test-5hs-autoaccept test
6472
run: |
73+
if ! docker images --format '{{.Repository}}:{{.Tag}}' | grep -q '^fr-build-ubuntu22:latest$'; then
74+
echo "Error: fr-build-ubuntu22:latest Docker image not found and required for multi-server test environment."
75+
exit 1
76+
fi
6577
make -f src/tests/multi-server/all.mk test-5hs-autoaccept

0 commit comments

Comments
 (0)