fix: correct Docker build context for SSH server
Some checks failed
Test! / test (push) Failing after 2m30s
Some checks failed
Test! / test (push) Failing after 2m30s
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.
This commit is contained in:
parent
c5ae1eef67
commit
efe8c1a37f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue