Skip to content

fix: Docker Image push to GitHub Container Registry#1142

Merged
maximearmstrong merged 2 commits intomasterfrom
issue/1105/docker-image-push-fail
May 11, 2022
Merged

fix: Docker Image push to GitHub Container Registry#1142
maximearmstrong merged 2 commits intomasterfrom
issue/1105/docker-image-push-fail

Conversation

@maximearmstrong
Copy link
Copy Markdown
Contributor

Fixes #1105 : Docker builds are 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.

Explain and/or show screenshots for how you expect the pull request to work in your testing (in case other devices exhibit different behavior).

Please make sure these boxes are checked before submitting your pull request - thanks!

@maximearmstrong maximearmstrong self-assigned this May 11, 2022
@maximearmstrong maximearmstrong requested a review from barbeau May 11, 2022 21:03
@maximearmstrong maximearmstrong marked this pull request as ready for review May 11, 2022 21:03
Copy link
Copy Markdown
Member

@barbeau barbeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @maximearmstrong! We can confirm this works after merge to main branch.

@github-actions
Copy link
Copy Markdown
Contributor

Thank you for this contribution! 🍰✨🦄

Information about source corruption

0 out of 1248 sources are corrupted.

Acceptance test details

The changes in this pull request did not trigger any new errors on known GTFS datasets from the MobilityDatabase.
Download the full acceptance test report for commit 35dfcd1 here (report will disappear after 90 days).

@maximearmstrong maximearmstrong merged commit 086b5a4 into master May 11, 2022
@maximearmstrong maximearmstrong deleted the issue/1105/docker-image-push-fail branch May 11, 2022 22:00
@maximearmstrong
Copy link
Copy Markdown
Contributor Author

Thanks @maximearmstrong! We can confirm this works after merge to main branch.

It worked! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker builds are failing

2 participants