-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
Adding PHP 8 to the documentation and to Docker image #123
Conversation
PHP8 support is nice, but I am still undecided about composer 2, since there's no fxp support, see fxpio/composer-asset-plugin#334 Shall we drop fxp? |
I would say so. I switched to asset packagist and never looked back. |
Agree. I've switched long long time ago as well. |
Is it possible to have old composer on old php version tags and new composer on the newer versions? Otherwise rebuilding and existing tag would break a lot of setups. I had some issues in the past where on one machine we had Moving to composer 2.0 and removing the plugin is a BC break that should not be pushed to the same tag. |
Actually we had additional suffixes like I'll try look into that first, before merging. |
I was trying to find where this is done. Could you comment about this in the Readme or doc file if it isn't there? I'm curious about how I can assist on future cycles of the package. |
@cgsmith I was confused with old Travis builds. We have tagged images now (with a missing Looks like GH-actions are working fine and we can move on. We also need to add PHP 8.0 here https://github.com/yiisoft/yii2-docker/blob/master/.github/workflows/docker-image.yml |
@schmunk42 if I add PHP8 to the |
@cgsmith are you asking if Yii runs on php 8? Yes it does. |
@bizley no. just curious how i can test the github actions on my fork of this repo. |
Github runs what is inside workflows folder so you could for example fork it and make PR to your main fork branch. |
But why are there no builds/actions on the commits on this PR? |
Oh, there were none? Weird... |
I can see the workflow builds and pushes the docker image to the registry. We need something additional to only test the images. |
I'm using this condition to build and push images when tagging the release with X.X.X semver schema.
|
I don't quite understand, the workflows looked good to me?! |
Oh, my bad, login and push to registry is conditional. So it's fine, maybe it could be separated to simplify the workflows. Anyway.
is missing. |
@bizley gotcha i needed to enable actions on my end. sorry for the test commit. I forgot it came down in the PR. I'll revert that. |
I'll put this back into a pending PR after the checks are all done. This PR should also close #110 |
We have correctly tagged images like |
Hello @schmunk42 @bizley @cgsmith , what is the status of this PR?. |
@Alex-DA This PR is in draft stage, but I think we could move forward with it. Could you give https://hub.docker.com/r/yiisoftware/yii-php/tags?page=1&ordering=last_updated a try in the meantime? |
I had this as a draft because the builds were failing. I'm not the most
confident in my ability to fix the broken build. Can anyone assist?
…On Fri, Apr 16, 2021, 2:58 PM Tobias Munk ***@***.***> wrote:
@Alex-DA <https://github.com/Alex-DA> This PR is in draft stage, but I
think we could move forward with it.
Could you give
https://hub.docker.com/r/yiisoftware/yii-php/tags?page=1&ordering=last_updated
a try in the meantime?
Actually this should also work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#123 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAELFIW527VYA26GEPOOLZDTJCJG7ANCNFSM4ZWKSBFA>
.
|
Could you try updating |
Hmm, actions do not run. |
At least the action ran now: https://github.com/yiisoft/yii2-docker/actions/runs/763731034 But we need a change, that pushing only happens on So conflicts must be resolved for the PHP-8 images to appear. |
This also fixes the image magic install and updates composer.