Make the ENTRYPOINT source actually work #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "ROS1 Ubuntu 20.04" | |
on: | |
push: | |
branches: [ master, dockerfile ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code Checkout | |
uses: actions/checkout@v2 | |
- name: Create Workspace | |
run: | | |
export REPO=$(basename $GITHUB_REPOSITORY) && | |
cd $GITHUB_WORKSPACE/.. && mkdir src/ && | |
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ | |
- name: Build Docker | |
run: | | |
export REPO=$(basename $GITHUB_REPOSITORY) && | |
docker build -t kalibr -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_20_04 . | |