Skip to content

Commit

Permalink
Fixed robot pipeline to support building for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-palmer committed Oct 12, 2023
1 parent 9b60032 commit 5c662c2
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,24 @@ jobs:
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [humble, iron, rolling]
ROS_DISTRO: [humble, rolling, iron]
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/[email protected]

- name: Set up QEMU
uses: docker/[email protected]

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Log into registry
if: env.PUSH == 'true'
uses: docker/login-action@v3.0.0
uses: docker/login-action@v2.2.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -88,7 +94,7 @@ jobs:
type=raw,value=${{ matrix.ROS_DISTRO }}-${{ github.job }}
- name: Build and push Docker image
uses: docker/build-push-action@v5.0.0
uses: docker/build-push-action@v4.1.1
with:
context: .
file: .docker/Dockerfile
Expand Down

0 comments on commit 5c662c2

Please sign in to comment.