Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Filter out docker build-arg option if no BASE_IMAGE (#3259) If the 'BASE_IMAGE' var is not defined in the environment, filter out the build template entry for Goreleaser to invoke `docker build[x]` so that we avoid calling `docker build` with an invliad `--build-arg= ` (no value) option, which was causing the build to fail. Signed-off-by: Rich Scott <[email protected]> * Use golang.org/x/exp/slices.Delete We are using Go 1.20 for builds, so use golang.org/x/exp/slices.Delete instead of slices.DeleteFunc (new in Go 1.21 stdlib). Signed-off-by: Rich Scott <[email protected]> --------- Signed-off-by: Rich Scott <[email protected]>
- Loading branch information