Skip to content

Test

Test #466

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Build/Tests
run: |
docker build -t ci-pendulum .
deployment:
name: Deployment
runs-on: ubuntu-22.04
needs: [build]
if: github.ref == 'refs/heads/rolling'
steps:
- uses: actions/checkout@v2
- 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