From 421856aca41efb43f648818e51d171741f7b852e Mon Sep 17 00:00:00 2001 From: Lander Usategui Date: Mon, 25 Dec 2023 12:43:41 +0100 Subject: [PATCH] Update build.yaml --- .github/workflows/build.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e3134c5..991c2f7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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