Skip to content

Commit

Permalink
Fix OCI image labels
Browse files Browse the repository at this point in the history
dagger/dagger#5535

Signed-off-by: Gerhard Lazu <[email protected]>
  • Loading branch information
gerhard committed Aug 3, 2023
1 parent 4565eff commit d728bc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion magefiles/image/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ func (image *Image) Publish(reference string) *Image {

_, err := image.
WithRegistryAuth().
container.Publish(image.ctx, reference)
container.Publish(image.ctx, reference, dagger.ContainerPublishOpts{
MediaTypes: dagger.Dockermediatypes,
})
mustCreate(err)

return image
Expand Down

0 comments on commit d728bc2

Please sign in to comment.