Skip to content

Bump build runner version #477

Bump build runner version

Bump build runner version #477

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 .
build-base:
name: Base
runs-on: ubuntu-22.04
needs: [build]
# if: github.ref == 'refs/heads/rolling'
steps:
- uses: actions/checkout@v2
- name: Base
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_TOKEN }}
cd ade/docker-base && docker build --build-arg OS_VERSION=ubuntu:22.04 -t ros2realtimedemo/pendulum:base-rolling-tracers .
docker push ros2realtimedemo/pendulum:ade-base-rolling
deployment:
name: Deployment
runs-on: ubuntu-22.04
needs: [build-base]
# 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