Taken from the tutorial we see the following:
In the build
job, we:
- Check out the repository so the job has access to it
- Log in to GitHub Packages
- Pull the image if it exists
- Build the image
- Push the image up to GitHub Packages
The same steps are done for the test job. My question is what purpose or benefit do we have from building the image again if we already built it using the same code in the previous step. Imho pulling the image accomplishes nothing for this job. Or am I missing something?