-
Notifications
You must be signed in to change notification settings - Fork 126
35 lines (29 loc) · 856 Bytes
/
push.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build
on:
push:
branches: [ main ]
paths-ignore: '**.md'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ROS_DISTRO: [jazzy, humble, noetic]
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Docker login
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Docker build
uses: docker/build-push-action@v2
with:
file: ${{github.workspace}}/docker/${{ matrix.ROS_DISTRO }}/Dockerfile
context: .
tags: ${{secrets.DOCKER_USERNAME}}/direct_visual_lidar_calibration:${{ matrix.ROS_DISTRO }}
push: true