Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
LanderU committed Dec 26, 2023
1 parent 7cbb1c1 commit c4e21a6
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
name: build
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- 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@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
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

0 comments on commit c4e21a6

Please sign in to comment.