File tree Expand file tree Collapse file tree 2 files changed +25
-42
lines changed
Expand file tree Collapse file tree 2 files changed +25
-42
lines changed Original file line number Diff line number Diff line change 3232 tags : |
3333 ${{ secrets.DOCKERHUB_USERNAME }}/kestrel:latest
3434 ${{ secrets.DOCKERHUB_USERNAME }}/kestrel:${{ github.sha }}
35+
36+ colcon-build :
37+ needs : docker-build-and-push
38+ runs-on : ubuntu-latest
39+
40+ steps :
41+ - name : Checkout
42+ uses : actions/checkout@v4
43+
44+ - name : Login to DockerHub
45+ uses : docker/login-action@v3
46+ with :
47+ username : ${{ secrets.DOCKERHUB_USERNAME }}
48+ password : ${{ secrets.DOCKERHUB_TOKEN }}
49+
50+ - name : Pull latest image
51+ run : docker pull ${{ secrets.DOCKERHUB_USERNAME }}/kestrel:latest
52+
53+ - name : Colcon build stage
54+ run : |
55+ docker run --rm \
56+ -v ${{ github.workspace }}:/workspace \
57+ -w /workspace \
58+ ${{ secrets.DOCKERHUB_USERNAME }}/kestrel:latest \
59+ bash -c "cd src && colcon build"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments