Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
LanderU committed Dec 26, 2023
1 parent 3b3ec09 commit 4b404bc
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,23 @@ jobs:
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]
needs: [Base]
# if: github.ref == 'refs/heads/rolling'
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 4b404bc

Please sign in to comment.