Skip to content

Add the automatic differentiation multibody solver based on JAX #356

Add the automatic differentiation multibody solver based on JAX

Add the automatic differentiation multibody solver based on JAX #356

name: Test Docker image build
on:
pull_request:
branches:
- main
- develop
- 'rc*'
push:
paths:
- 'utils/*'
- 'Dockerfile'
- '.github/workflows/docker*'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
test_image_build:
runs-on: ubuntu-latest
name: Test Docker image build
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build Docker image
uses: docker/[email protected]
with:
context: .
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}