Skip to content

Commit

Permalink
Fix shadowing pointer error, rename build
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Apr 25, 2022
1 parent 95fcb59 commit 7859c0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-images.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build X64 Docker Images
name: Build Docker Images
on:
schedule:
# TODO: only run daily
Expand Down
3 changes: 2 additions & 1 deletion docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ func BuildDockerImage(ctx context.Context, dockerfileDir string, tags []string,
buildArgs := map[string]*string{}

for arg, value := range args {
buildArgs[arg] = &value
thisValue := value
buildArgs[arg] = &thisValue
}

opts := types.ImageBuildOptions{
Expand Down

0 comments on commit 7859c0f

Please sign in to comment.