Skip to content

Commit

Permalink
add stella_vslam runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
imwithye committed Jan 28, 2024
1 parent c9a3e99 commit b06e427
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 34 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ jobs:
echo "Using Docker Namespace: ${{ vars.DOCKER_NAMESPACE }}"
echo ${{ secrets.DOCKER_PASSWORD }} | docker login --username ${{ secrets.DOCKER_USERNAME }} --password-stdin ${{ vars.DOCKER_REGISTRY }}
docker build . -t ${{ vars.DOCKER_REGISTRY }}/${{ vars.DOCKER_NAMESPACE }}/stella_vslam:latest -f stella_vslam.Dockerfile
bash stella_vslam/build.sh
docker tag stella_vslam:latest ${{ vars.DOCKER_REGISTRY }}/${{ vars.DOCKER_NAMESPACE }}/stella_vslam:latest
docker push ${{ vars.DOCKER_REGISTRY }}/${{ vars.DOCKER_NAMESPACE }}/stella_vslam:latest
33 changes: 0 additions & 33 deletions stella_vslam.Dockerfile

This file was deleted.

8 changes: 8 additions & 0 deletions stella_vslam/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

export SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd $SCRIPT_DIR

git clone https://github.com/stella-cv/stella_vslam.git && \
cd stella_vslam && git checkout a18add7
docker build -t stella_vslam -f Dockerfile.socket .

0 comments on commit b06e427

Please sign in to comment.