Adds a new workflow build.yaml that builds and pushes a Docker image to the GitHub registry when a release is published
action.yml now uses the prebuilt image instead of the Dockerfile
In the workflow upgrader.yaml, we take care of replacing the tag in action.yml so it uses the newly tagged image
In test.yml, before running the test, we manually replace the image path by Dockerfile
It's needed to be sure we are testing the latest changes. Otherwise, we would have issues because it could try to test an image that hasn't been built yet.
Follow-up of the discussion in #29.
Summary of the changes:
build.yaml
that builds and pushes a Docker image to the GitHub registry when a release is publishedaction.yml
now uses the prebuilt image instead of the Dockerfileupgrader.yaml
, we take care of replacing the tag inaction.yml
so it uses the newly tagged imagetest.yml
, before running the test, we manually replace the image path byDockerfile
To make it work on you repository, you'll need to enable the improved Container registry on your GitHub organization: https://docs.github.com/en/packages/working-with-a-github-packages-registry/enabling-improved-container-support-with-the-container-registry#enabling-the-container-registry-for-your-organization-account
I hope it'll be helpful! Feel free to suggest improvements 😄