Skip to content

Commit

Permalink
Merge pull request #95 from ros2-realtime-demo/LanderU-patch-1
Browse files Browse the repository at this point in the history
Update build.yaml
  • Loading branch information
LanderU committed Dec 25, 2023
2 parents 1492110 + 421856a commit ec2bf0f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
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
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

0 comments on commit ec2bf0f

Please sign in to comment.