Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
LanderU authored Dec 25, 2023
1 parent 1492110 commit 421856a
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 421856a

Please sign in to comment.