Skip to content

Adding the sphero rvr sdk so that this docker stuff can build #51

Adding the sphero rvr sdk so that this docker stuff can build

Adding the sphero rvr sdk so that this docker stuff can build #51

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Docker Login
uses: docker/[email protected]
with:
username: esimkowitz
password: ${{ secrets.DOCKER_HUB_ESIMKOWITZ_PAT }}
# Log out from the Docker registry at the end of a job
- name: Docker Setup QEMU
uses: docker/[email protected]
with:
platforms: arm64
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: esimkowitz/sphero-rvr-ros2
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
file: Dockerfile
platforms: arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}