depot / cli

🖥️ Depot CLI, build your Docker images in the cloud
https://depot.dev
MIT License
115 stars 5 forks source link

Only add `-target` suffix to user tags if pulling multiple targets #291

Closed jacobwgillespie closed 1 week ago

jacobwgillespie commented 1 week ago

This changes pull so that depot pull --target abc --tag hello-world ... will tag the pulled image as exactly hello-world - currently it would get tagged with hello-world-TARGETNAME even though only one image is being pulled.

Pull should still add the -TARGETNAME suffix to the image if multiple targets are being pulled with a user-specified tag.