Adding the sphero rvr sdk so that this docker stuff can build #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |