Fixes #150: Docker image push to GitHub Container Registry is failing
This PR replaces the Personal Access Token (PAT) used in the docker.yml workflow with a GitHub Token. According to GitHub, PATs used to authenticate to ghcr.io should be avoided.
Along with the changes made in this PR, the steps shown here were followed so that the package could access the GitHub token.
Expected behavior:
The Docker Image push to GitHub Container Registry should work properly.
Please make sure these boxes are checked before submitting your pull request - thanks!
[x] Run the unit tests with mvn test to make sure you didn't break anything
[x] Format the title like "feat: {new feature short description}" or "fix: {describe what was fixed}". Title must follow the Conventional Commit Specification (https://www.conventionalcommits.org/en/v1.0.0/).
[x] Linked all relevant issues
[ ] ~Include screenshot(s) showing how this pull request works and fixes the issue(s)~
Summary:
Fixes #150: Docker image push to GitHub Container Registry is failing
This PR replaces the Personal Access Token (PAT) used in the
docker.yml
workflow with a GitHub Token. According to GitHub, PATs used to authenticate toghcr.io
should be avoided.Along with the changes made in this PR, the steps shown here were followed so that the package could access the GitHub token.
Expected behavior:
The Docker Image push to GitHub Container Registry should work properly.
Please make sure these boxes are checked before submitting your pull request - thanks!
mvn test
to make sure you didn't break anything