Skip to content

Instantly share code, notes, and snippets.

package main
import (
"fmt"
"os"
"strings"
"github.com/spf13/cobra"
"github.com/zclconf/go-cty/cty"
package main
import (
"fmt"
"os"
"strings"
"github.com/spf13/cobra"
"github.com/zclconf/go-cty/cty"
package main
import (
"fmt"
"os"
"github.com/hashicorp/hcl/v2"
"github.com/hashicorp/hcl/v2/gohcl"
"github.com/hashicorp/hcl/v2/hclsimple"
)
package main
import (
"fmt"
"os"
"github.com/hashicorp/hcl/v2/hclsimple"
)
var (
@weakpixel
weakpixel / push-docker-multi-image-tar.go
Last active November 1, 2023 06:54
Use Crane to push a Docker multi image to registry
package main
import (
"flag"
"fmt"
"io"
"os"
"path"
"github.com/google/go-containerregistry/pkg/crane"