Skip to content

Commit

Permalink
Merge pull request #107 from GrahamDumpleton/set-platform-arch
Browse files Browse the repository at this point in the history
Set platform architecture variable when deploying workshop to local docker.
  • Loading branch information
GrahamDumpleton authored Sep 17, 2023
2 parents dcf9de0 + 0b537a1 commit 6514541
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client-programs/pkg/cmd/docker_workshop_deploy_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ func generateVendirFilesConfig(workshop *unstructured.Unstructured, name string,
vendirConfigString = strings.ReplaceAll(vendirConfigString, "$(image_repository)", repository)
vendirConfigString = strings.ReplaceAll(vendirConfigString, "$(workshop_name)", name)
vendirConfigString = strings.ReplaceAll(vendirConfigString, "$(workshop_version)", workshopVersion)
vendirConfigString = strings.ReplaceAll(vendirConfigString, "$(platform_arch)", runtime.GOARCH)

vendirConfigs = append(vendirConfigs, vendirConfigString)
}
Expand Down

0 comments on commit 6514541

Please sign in to comment.