github.com/GoogleContainerTools/skaffold/v2@v2.13.2/docs-v1/content/en/samples/builders/artifact-dependencies/custom-local.yaml (about) 1 build: 2 artifacts: 3 - image: image1 4 custom: 5 # environment variable $IMG2 will be set to the build of image2 6 buildCommand: | 7 cat <<EOF | docker build --tag=$IMAGE --build-arg $IMG2 - 8 FROM busybox 9 ARG IMG2 10 RUN echo 'Got ARG IMG2=$IMG2' 11 EOF 12 requires: 13 - image: image2 14 alias: IMG2 15 - image: image2 16 custom: 17 buildCommand: echo 'FROM busybox' | docker build --tag=$IMAGE -