Skip to content

build and publish docker images #15

build and publish docker images

build and publish docker images #15

---
name: build and publish docker images
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * FRI'
jobs:
build_images_debian11:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
ros_distro: ['humble']
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v3
with:
push: true
file: Dockerfile.debian11
tags: ghcr.io/${{ github.repository_owner }}/ros:${{ matrix.ros_distro }}-debian-cmake318
build-args: |
ROS_DISTRO=${{ matrix.ros_distro }}