Closed mmurooka closed 2 years 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.
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.