Bump build runner version #479
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: 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 |