Skip to content

Commit

Permalink
Check if devcontainer image exists
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeepyjack committed Aug 21, 2023
1 parent 858f7a0 commit c489a3a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ jobs:
fi
DEVCONTAINER_IMAGE="rapidsai/devcontainers:${{inputs.devcontainer_version}}-cpp-${COMPILER_SEGMENT}cuda${{inputs.cuda_version}}-${{inputs.os}}"
echo "name=$DEVCONTAINER_IMAGE" >> $GITHUB_OUTPUT
- name: Check if Docker image exists
run: |
docker manifest inspect $DEVCONTAINER_IMAGE > /dev/null
if [ $? -ne 0 ]; then
echo "Error: Docker image $DEVCONTAINER_IMAGE does not exist."
exit 1
fi
build:
needs: devcontainer_image
Expand Down

0 comments on commit c489a3a

Please sign in to comment.