Skip to content

Commit

Permalink
fix: update types in the registry module
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Jun 14, 2024
1 parent 18e565a commit c855a27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/image"
"github.com/docker/docker/api/types/registry"

"github.com/testcontainers/testcontainers-go"
Expand Down Expand Up @@ -135,7 +135,7 @@ func (c *RegistryContainer) PushImage(ctx context.Context, ref string) error {
return fmt.Errorf("failed to get image auth: %w", err)
}

pushOpts := types.ImagePushOptions{
pushOpts := image.PushOptions{
All: true,
}

Expand Down

0 comments on commit c855a27

Please sign in to comment.