Skip to content

Commit

Permalink
Prevent sstep from exiting before container is running
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielKotik committed Mar 1, 2022
1 parent 2d9b62d commit 41a6c41
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cpu-tests_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,11 @@ jobs:
- name: "Prepare environment: Run Docker container"
run: |
# Make the github workspace (i.e. checked out mala repository) available inside Docker container
docker run -i -d --rm --name mala-cpu -v ${{ github.workspace }}:/home -w /home $IMAGE_NAME:$DOCKER_TAG /bin/bash
# Make the github workspace (i.e. checked out mala repository) available inside Docker container by binding it to /home via -v.
docker run -i -d --rm --name mala-cpu -v ${{ github.workspace }}:/home -w /home $IMAGE_NAME:$DOCKER_TAG /bin/bash &
# Wait for Docker container to come online
wait
# Check running docker container
docker ps
Expand Down

0 comments on commit 41a6c41

Please sign in to comment.