Fix issue where steampipe failed to download embedded postgresql database and FDW during installation. Closes #4382 (#4383)

This commit is contained in:
Puskar Basu
2024-09-13 18:01:10 +05:30
committed by GitHub
parent df44dc6501
commit d78ffe71da
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
package constants
const (
BaseImageRef = "ghcr.io/turbot/steampipe/plugins"
// The BaseImageRef is the common prefix for all turbot managed steampipe images
// Embedded PG: ghcr.io/turbot/steampipe/db
// FDW: ghcr.io/turbot/steampipe/fdw
// Plugins: ghcr.io/turbot/steampipe/plugins/turbot/plugin
BaseImageRef = "ghcr.io/turbot/steampipe"
)

View File

@@ -3,7 +3,6 @@ package ociinstaller
import (
"context"
"encoding/json"
"github.com/turbot/steampipe/pkg/constants"
"log"
"strings"
@@ -11,6 +10,7 @@ import (
"github.com/containerd/containerd/remotes/docker"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/sirupsen/logrus"
"github.com/turbot/steampipe/pkg/constants"
"oras.land/oras-go/v2"
"oras.land/oras-go/v2/content"
"oras.land/oras-go/v2/content/file"