Search code examples
google-cloud-platformgoogle-cloud-tools

skaffold use one container as buildArg of another


I want to build a container using the command say

skaffold build -f skaffold.yaml.A

The container built here I want to use in the next step as buildArgs

skaffold build -f skaffold.yaml.B

Is there a way to merge these two yamls? I mean use the first container as the buildArg for the next.

Can I use variables in buildArgs?


Solution

  • Skaffold doesn't know how to do that for the moment