MobilityData / gtfs-realtime-validator

Java-based tool that validates General Transit Feed Specification (GTFS)-realtime feeds
Other
38 stars 9 forks source link

fix: Docker Image push to GitHub Container Registry #151

Closed maximearmstrong closed 2 years ago

maximearmstrong commented 2 years ago

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 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!

maximearmstrong commented 2 years ago

Thanks @maximearmstrong! I guess we will see if this works when this PR is merged.

It worked! 🎉