Skip to content

Commit 6662215

Browse files
authored
fix: set latest workflow server image (#32)
Signed-off-by: Magyari Sandor Szilard <[email protected]>
1 parent 2da8c07 commit 6662215

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

wfsm/internal/wfsm/command/deploy.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const deleteBuildFoldersFlag string = "deleteBuildFolders"
5454
const deploymentOptionFlag string = "deploymentOption"
5555
const dryRunFlag string = "dryRun"
5656
const envFilePathFlag string = "envFilePath"
57-
const foreceBuild string = "forceBuild"
57+
const forceBuild string = "forceBuild"
5858
const manifestPathFlag string = "manifestPath"
5959
const platformsFlag string = "platform"
6060

@@ -70,11 +70,11 @@ var deployCmd = &cobra.Command{
7070
deploymentOption, _ := cmd.Flags().GetString(deploymentOptionFlag)
7171
dryRun, _ := cmd.Flags().GetBool(dryRunFlag)
7272
envFilePath, _ := cmd.Flags().GetString(envFilePathFlag)
73-
foreceBuild, _ := cmd.Flags().GetBool(foreceBuild)
73+
forceBuild, _ := cmd.Flags().GetBool(forceBuild)
7474
manifestPath, _ := cmd.Flags().GetString(manifestPathFlag)
7575
platform, _ := cmd.Flags().GetString(platformsFlag)
7676

77-
err := runDeploy(getContextWithLogger(cmd), manifestPath, envFilePath, platform, dryRun, deleteBuildFolders, foreceBuild, baseImage, &deploymentOption)
77+
err := runDeploy(getContextWithLogger(cmd), manifestPath, envFilePath, platform, dryRun, deleteBuildFolders, forceBuild, baseImage, &deploymentOption)
7878
if err != nil {
7979
util.OutputMessage(deployFail, err.Error())
8080
return fmt.Errorf(CmdErrorHelpText, deployError)
@@ -84,12 +84,12 @@ var deployCmd = &cobra.Command{
8484
}
8585

8686
func init() {
87-
deployCmd.Flags().StringP(baseImageFlag, "b", "ghcr.io/agntcy/acp/wfsrv:v0.2.0-dev.1", "Base image to be used as the workflowserver for the agent")
87+
deployCmd.Flags().StringP(baseImageFlag, "b", "ghcr.io/agntcy/acp/wfsrv:v0.2.2", "Base image to be used as the workflowserver for the agent")
8888
deployCmd.Flags().BoolP(deleteBuildFoldersFlag, "d", true, "Delete build folders after deployment")
8989
deployCmd.Flags().StringP(deploymentOptionFlag, "o", "", "Deployment option to use from the manifest")
9090
deployCmd.Flags().BoolP(dryRunFlag, "r", false, "If set to true, the deployment will not be executed, instead deployment artifacts will be printed to the console")
9191
deployCmd.Flags().StringP(envFilePathFlag, "e", "", "Environment file for the application")
92-
deployCmd.Flags().BoolP(foreceBuild, "f", false, "If set to true, the build will be forced even if the image already exists")
92+
deployCmd.Flags().BoolP(forceBuild, "f", false, "If set to true, the build will be forced even if the image already exists")
9393
deployCmd.Flags().StringP(manifestPathFlag, "m", "", "Manifest file for the application")
9494
deployCmd.Flags().StringP(platformsFlag, "p", "docker", "Environment file for the application")
9595

0 commit comments

Comments
 (0)