Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add bsf dockerfile digests command #86

Merged
merged 16 commits into from
Jul 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: add bsf dockerfile digests command
Signed-off-by: hanshal101 <82961842+hanshal101@users.noreply.github.com>
  • Loading branch information
hanshal101 authored and hanshal101 committed Jul 15, 2024
commit 42868df4bd8c3ddeb4d2c3bee44a8f51cae30d43
7 changes: 0 additions & 7 deletions cmd/dockerfile/df.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ import (
"github.com/buildsafedev/bsf/cmd/styles"
)

var (
platform string
)

func init() {
DFCmd.Flags().StringVarP(&platform, "platform", "p", "", "The platform to build the image for")
DFCmd.AddCommand(DGCmd)
}

Expand All @@ -25,8 +20,6 @@ var DFCmd = &cobra.Command{
Aliases: []string{"df"},
Long: `
bsf dockerfile <artifact>
bsf dockerfile <artifact> --platform <platform>
bsf dockerfile <artifact> --platform <platform> --output <output filename>
`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println(styles.HintStyle.Render("hint: use bsf dockerfile with a subcomand"))
Expand Down
Loading