Replies: 39 comments
-
Here is my own build and used in gitlab CI. And just added 7.0.0-rc.8 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Use first url, but follow redirects. curl -L |
Beta Was this translation helpful? Give feedback.
-
Tested, Works fine. Thanks |
Beta Was this translation helpful? Give feedback.
-
The doc uses the |
Beta Was this translation helpful? Give feedback.
-
@alexislefebvre There is no image on docker hub (https://hub.docker.com/search?q=deployphp%2Fdeployer). What am I missing? |
Beta Was this translation helpful? Give feedback.
-
@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 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
@pknap updated as your requested tag 7 is now 7.0.0 already.
Thanks. |
Beta Was this translation helpful? Give feedback.
-
@antonmedv got the problem that https://deployer.org/releases/v7.0.0/deployer.phar is not exists. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/deployphp/deployer/releases/download/v7.0.0/deployer.phar |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@minkbear |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
just ran into this, why is the deployphp/deployer image given as an example in the docs, when there is no such published package? |
Beta Was this translation helpful? Give feedback.
-
@marvinhinz I have plans to add it, but still didn’t found time for it. |
Beta Was this translation helpful? Give feedback.
-
@antonmedv would there be anything we can help with? Already considered a base image? |
Beta Was this translation helpful? Give feedback.
-
I guess php8 as base image. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
@Schrank There is already a GH action -> https://github.com/deployphp/action |
Beta Was this translation helpful? Give feedback.
-
@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 |
Beta Was this translation helpful? Give feedback.
-
@Schrank Seems a coincidence. Just posted that comment with a workaround as long there is no official docker image: |
Beta Was this translation helpful? Give feedback.
-
@Schrank What about this variant? bitbucket-pipelines.yml
|
Beta Was this translation helpful? Give feedback.
-
@Konafets No coincidence 😂 Your post was my start to push this topic :) @uacode That does exactly what we want in bitbucket and this is what we do, nonetheless it would save some time to have a docker image and not install everyhing every time. Thanks for providing it! |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@Schrank Tell me please, its possible to set deployment strategy in bitbucket-pipelines.yml not in deploy.php? |
Beta Was this translation helpful? Give feedback.
-
~22 sec No Docker https://prnt.sc/n1Edf82Dxdy7
|
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions