Description
Hello! I’m new to bake and quite enjoying it. However, as far as I can tell, the bake action doesn’t support multiple contexts.
What I’m trying to do in my Actions workflow is:
- Have an initial job that checks out the main repo and prepares a lockfile referencing several other repos.
- Pass that lockfile to the next job as an artifact.
- In the next job (a multiplatform matrix), run a bake that consumes the lockfile and hopefully avoids creating a new local clone of the main repo.
I can definitely mount a secret into the bake build, but I don’t think I can mount a regular file unless it’s part of the context. Is there a way I can reference the local workspace while still having buildx make its own clone of the main repo?
Description
Hello! I’m new to bake and quite enjoying it. However, as far as I can tell, the bake action doesn’t support multiple contexts.
What I’m trying to do in my Actions workflow is:
I can definitely mount a secret into the bake build, but I don’t think I can mount a regular file unless it’s part of the context. Is there a way I can reference the local workspace while still having buildx make its own clone of the main repo?