这是indexloc提供的服务,不要输入任何密码
Skip to content

how to re-enable git push deploy after initializing an app with git:from-image? #5662

@Quantisan

Description

@Quantisan

Description of problem

we have an app that starts off with a Docker image, which we dokku git:from-image to get it running. But later we want to push changes directly from our local git repo, i.e. git push deploy.

I managed to have it working with dokku git:sync. Subsequent git push from localhost works. The problem is that running git:sync requires giving dokku server access to our github repo. I'm wondering is there a way to get git push to work directly that I might have missed?

we're on dokku version 0.29.4

How reproducible

Steps to Reproduce

Actual Results

Expected Results

<-- Please replace APP_NAME with the name of your app -->

Environment Information

dokku report APP_NAME output

This is required! Issues missing this information may be closed.

For problems affecting all applications, the report output for a broken application is useful for our debugging.
In these cases, you may run dokku report without any arguments to display the top-level reporting information.

How (deb/make) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?

Additional information

  • Container Inspect Output (if applicable) via dokku ps:inspect APP_NAME
  • The nginx configuration (if applicable) via dokku nginx:show-config APP_NAME
  • Link to the exact repository being deployed (if possible/applicable):
  • If a deploy is failing or behaving unexpectedly:
    • Application name
    • The type of application being deployed (node, php, python, ruby, etc.)
    • If using buildpacks, which custom buildpacks are in use
    • If using a Dockerfile, the contents of that file
    • If it exists, the contents of your Procfile.
  • Output of failing Dokku commands after running dokku trace:on
    (BEWARE: trace:on will print environment variables for some commands, be sure you're not exposing any sensitive information when posting issues. You may replace these values with XXXXXX):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions