Repository navigation
replace ContainerAddress with String, publish returns fully qualified ref - #3443
Conversation
There was a problem hiding this comment.
I'm a bit worried about the change to Boolean, at least from a dagger-classic perspective. I'll be needing the full ref for the pushed image (including the image digest) in order to get full compatibility. I can also imagine that it could be important to have that for pipelines that want to push the container, then ensure that the same container ref is used further down the line for deployment.
I'm not sure what a better return type would be... but just want to name it before totally settle on a API.
There was a problem hiding this comment.
Oh good catch! This was actually busted before, then, because it would always just return the ref that was given, which felt a little pointless. I'll change it to String and add a test that it returns a fully qualified ref with the digest and everything. 👍
There was a problem hiding this comment.
Latest changes re-introduce this and test that we get a digest back.
bd52855 to
3b6a059
Compare
Signed-off-by: Alex Suraci <[email protected]>
Signed-off-by: Alex Suraci <[email protected]>
Signed-off-by: Alex Suraci <[email protected]>
3b6a059 to
910fba4
Compare
fixes #3257