Skip to content

Commit

Permalink
Pin released binary to image with same sha
Browse files Browse the repository at this point in the history
  • Loading branch information
zqureshi authored and fntlnz committed Nov 4, 2020
1 parent f7314fa commit bb25231
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ builds:
ldflags: |
-X github.com/iovisor/kubectl-trace/pkg/version.buildTime={{ .Timestamp }}
-X github.com/iovisor/kubectl-trace/pkg/version.gitCommit={{ .Commit }}
-X github.com/iovisor/kubectl-trace/pkg/version.imageName={{ .Env.IMAGE_NAME }}
-X github.com/iovisor/kubectl-trace/pkg/cmd.ImageTag={{ .Commit }}
-X github.com/iovisor/kubectl-trace/pkg/cmd.InitImageTag={{ .Commit }}
binary: kubectl-trace
- id: "trace-runner"
goos:
Expand All @@ -35,7 +36,8 @@ builds:
ldflags: |
-X github.com/iovisor/kubectl-trace/pkg/version.buildTime={{ .Timestamp }}
-X github.com/iovisor/kubectl-trace/pkg/version.gitCommit={{ .Commit }}
-X github.com/iovisor/kubectl-trace/pkg/version.imageName={{ .Env.IMAGE_NAME }}
-X github.com/iovisor/kubectl-trace/pkg/cmd.ImageTag={{ .Commit }}
-X github.com/iovisor/kubectl-trace/pkg/cmd.InitImageTag={{ .Commit }}
binary: trace-runner

archives:
Expand Down

0 comments on commit bb25231

Please sign in to comment.