From efe8c1a37ff53b75c5057400972d69f39530782c Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 22 Apr 2024 17:01:42 +0200 Subject: [PATCH] fix: correct Docker build context for SSH server The Docker build command for the SSH server container was incorrectly pointing to the Dockerfile instead of the directory containing it. This change corrects the build context to the correct directory, ensuring that all necessary files in `./ci-tests/` are included during the build process. This fix addresses issues with missing dependencies during the container build phase. --- .forgejo/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 0d0c0b9..18ea4fc 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -25,7 +25,7 @@ jobs: - name: Build and run SSH Server Docker Container run: | - docker build -t my-ssh-server ./ci-tests/Dockerfile + docker build -t my-ssh-server ./ci-tests/ docker run -d -p 2222:22 --name ssh-server my-ssh-server - name: Copy public key to Docker container