Skip to content

How to clone private repo into docker buildx action? #11

@ErikOsinga

Description

@ErikOsinga

Hi,

Forgive me for my ignorance if this is a weird way to go about it (I am just recently getting familiar with both Docker and Github workflows), but I am interested in using this GitHub action inside a workflow that builds and pushes a Docker image, to clone a private repository.

The way I hope it would work is something like:

  1. Run the GuillaumeFalourd/clone-github-repo-action@v2.3 action to git clone the private repository
  2. Somehow access that private repository within the docker/setup-buildx-action@v1 action and simply copy it over to the docker image like ADD ./PrivateRepo ./

Would something like this be possible using this action?

Thanks in advance,
Erik

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions