-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Docker-image for Deployer #3118
Comments
Here is my own build and used in gitlab CI. And just added 7.0.0-rc.8 |
Great, I will add it to the list above. Your tag 7.0.0-rc.8 uses PHP 7.4, it should use PHP 8.1, same for your tag latest. |
Thanks for your recommendation so I reviewed and build the new one as described below
One problem is PHAR file is different url to download for example URL of 7.0.0-beta.34 and below version is https://deployer.org/releases/v7.0.0-beta.34/deployer.phar @antonmedv is that possible to be the same URL. |
Use first url, but follow redirects. curl -L |
Tested, Works fine. Thanks |
The doc uses the |
@alexislefebvre There is no image on docker hub (https://hub.docker.com/search?q=deployphp%2Fdeployer). What am I missing? |
@minkbear You're right, it doesn't work, it can't pull this image: docker pull deployphp/deployer:7
Error response from daemon: pull access denied for deployphp/deployer, repository does not exist or may require 'docker login': denied: requested access to the resource is denied Anyway, I suggest to use the Docker registry of GitHub which is easier to use than Docker Hub. Here is an example: https://github.com/alexislefebvre/docker-images/blob/main/.github/workflows/push.yaml GitHub build and publish the images through Actions, they are available through |
The docs are wrong, there is no deployer-image. See https://hub.docker.com/r/deployphp @alexislefebvre That's a nice solution for the deployer-maintainer or the maintainer of the other deployer-images. |
Hi @minkbear, since deployer 7.0.0 now has been released, would it be possible that you updated your image to use 7.0.0 instead of 7.0.0-rc.8 on your docker image? |
@pknap updated as your requested tag 7 is now 7.0.0 already.
Thanks. |
@antonmedv got the problem that https://deployer.org/releases/v7.0.0/deployer.phar is not exists. |
https://github.com/deployphp/deployer/releases/download/v7.0.0/deployer.phar |
Actually @antonmedv mention above (#3118 (comment)) that use "https://deployer.org/releases/v7.0.0-beta.34/deployer.phar" URL then it will redirect to correct phar. |
@minkbear |
@dennismetz There is already a documentation for Gitlab: https://deployer.org/docs/7.x/ci-cd#gitlab-cicd |
Updated
|
@minkbear Thanks, I updated the initial posting with the latest version. |
Hi @minkbear, sorry to bother you again, but would it be possible to keep 7.0 version under separate tag, or have another one with 7.1 but keep the PHP on 8.1? Currently there is no combination with dep 7.x and php 8.1, so when the app does not yet support php 8.2, the image kind of gets backward incompatible. Thank you |
@alexgit2k @pknap
|
Should we create automation to publish docker releases as well? |
That would save a lot of work, if docker images get created for new deployer-releases automatically. |
It's possible to push images to the GitHub registry when a tag is released: https://github.com/binxio/push-to-registry-gh-action-workflow/blob/main/.github/workflows/push-to-registry.yaml (I didn't test it but it looks good) |
Please see #3487 |
I can't seem to find the repo related to Dockerfile and builds for the images. @minkbear would you be willing to share these with us? |
|
just ran into this, why is the deployphp/deployer image given as an example in the docs, when there is no such published package? |
@marvinhinz I have plans to add it, but still didn’t found time for it. |
@antonmedv would there be anything we can help with? Already considered a base image? |
I guess php8 as base image. |
I would assume if @antonmedv is fine with it, we should think about adding a github action to provide a docker image. github has it's own registry and technically we should be able to build an image with the new deployer version. cc @rvanlaak I'm neither into docker nor github actions, but if someone has any questions I'm happy to help |
@Schrank There is already a GH action -> https://github.com/deployphp/action |
@Konafets Thanks! Correct me, but this action runs deployer, doesn't it? I'm looking for a docker image which can be used in bitbucket, gitlab and other pipelines. Or is it possible? That would be awesome <3 |
@Schrank Seems a coincidence. Just posted that comment with a workaround as long there is no official docker image: |
@Schrank What about this variant? bitbucket-pipelines.yml
|
Just updated the initial ticket, the latest deployer-version 7.3.3 is only available at https://hub.docker.com/r/pipelinecomponents/deployer It has only an example for Gitlab, so I do not know if it is running with Bitbucket or other pipelines. |
@Schrank Tell me please, its possible to set deployment strategy in bitbucket-pipelines.yml not in deploy.php? |
~22 sec No Docker https://prnt.sc/n1Edf82Dxdy7
|
This issue has been automatically closed. Please, open a discussion for bug reports and feature requests. Read more: [https://github.com//discussions/3888] |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
An official maintained Docker-image for Deployer would be helpful.
I found the following third party-images:
pipelinecomponents/deployer: version 7.3 (but seems only for Gitlab)
minkbear/php-deployer: version 7.1
Outdated:
ttskch/deployer: version 7.0
mwienk/php-deployer: version 6.8.0
kblais/deployer: version 6.3.0
herloct/deployer: version 5.0
Upvote & Fund
The text was updated successfully, but these errors were encountered: