isri-aist / BaselineWalkingController

Humanoid walking controller with various baseline methods
https://isri-aist.github.io/BaselineWalkingController
BSD 2-Clause "Simplified" License
110 stars 19 forks source link

[CI] Run CI on docker image for PR branches #1

Closed mmurooka closed 2 years ago

mmurooka commented 2 years ago

To run simulation with many combination settings efficiently with CI, we push the docker image in the first build job and pull it in the next simulation job. The original purpose of this PR was to make it available to CI jobs triggered by PRs as well. However, I found that CI jobs triggered by PRs do not have permission to push docker images to GitHub Packages, so I give up trying to achieve that purpose.

mmurooka commented 1 year ago

We get following solution: In the build job, docker build creates an image, docker save creates a tar file, and uploads it to the artifact; in the test job, download the tar file from the artifact and load it with docker load.