Skip to content

Commit fd51b22

Browse files
committed
Fix Docker image test by removing unsupported --version flag
1 parent 0710638 commit fd51b22

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/docker-build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,11 @@ jobs:
143143
# Create test directories
144144
mkdir -p ./test_config ./test_logs ./test_exports
145145
146-
# Basic image test - check if it runs and displays version
146+
# Basic image test - check if it runs properly
147147
docker run --rm \
148148
-v $(pwd)/test_config:/app/config \
149149
-v $(pwd)/test_logs:/app/logs \
150150
-v $(pwd)/test_exports:/app/exports \
151-
${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }} --version
152-
153-
# Check if the help command works
154-
docker run --rm \
155151
${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }} --help
156152
157153
echo "Docker image tests passed successfully"

0 commit comments

Comments
 (0)