Skip to content

Merge pull request #95 from ros2-realtime-demo/LanderU-patch-1 #464

Merge pull request #95 from ros2-realtime-demo/LanderU-patch-1

Merge pull request #95 from ros2-realtime-demo/LanderU-patch-1 #464

Workflow file for this run

name: build
on: [push, pull_request]
jobs:

Check failure on line 3 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yaml

Invalid workflow file

You have an error in your yaml syntax on line 3
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Build/Tests
run: |
docker build -t ci-pendulum .
deployment:
name: Deployment
runs-on: ubuntu-18.04
needs: [build]
if: github.ref == 'refs/heads/rolling'
steps:
- uses: actions/checkout@v1
- name: Deploy
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_TOKEN }}
cd ade/ADE-base && docker build -t ros2realtimedemo/pendulum:ade-base-rolling .
docker push ros2realtimedemo/pendulum:ade-base-rolling