-
Notifications
You must be signed in to change notification settings - Fork 0
Ci and publish #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ci and publish #11
Conversation
Nealium104
commented
Nov 3, 2025
- Adds tooling for testing (phpunit), future php upgrades (rector), and linting (php code sniffer)
- Adds CI for repo
- Adds a publish pipeline. If a merge completes to dev, a new version of the package should automatically push to ghcr
- Integrates rector PHP changes (stylistic changes only)
- Makes a new stage, CI in the Dockerfile
- Adds a very basic test
|
An important note: Linting will fail until addressed. Build and unit-test should be considered gates, but linting is just for style. I will make an issue to address the linting errors as future work. #12 |
.github/workflows/publish.yml
Outdated
| context: . | ||
| push: true | ||
| tags: | | ||
| ghcr.io/${{ github.repository_owner }}/exploreuk-web-app:${{ github.event.workflow_run.head_sha }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this image is being published to exploreuk-web-app, but it should be published to it's own package repo and then managed as a dependency by the exploreuk-web-app project.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Silly mistake. Fixed.