Skip to content

Commit

Permalink
template_infra_test.go: Build the IMAGE_TAG specified
Browse files Browse the repository at this point in the history
  • Loading branch information
doshitan committed Nov 7, 2024
1 parent f968f02 commit c44ae5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template-only-test/template_infra_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,14 @@ func ValidateBuildRepository(t *testing.T) {

err := shell.RunCommandE(t, shell.Command{
Command: "make",
Args: []string{"release-build", "APP_NAME=app"},
Args: []string{"release-build", "APP_NAME=app", fmt.Sprintf("IMAGE_TAG=%s", imageTag)},
WorkingDir: "../",
})
assert.NoError(t, err, "Could not build release")

err = shell.RunCommandE(t, shell.Command{
Command: "make",
Args: []string{"release-publish", "APP_NAME=app"},
Args: []string{"release-publish", "APP_NAME=app", fmt.Sprintf("IMAGE_TAG=%s", imageTag)},
WorkingDir: "../",
})
assert.NoError(t, err, "Could not publish release")
Expand Down

0 comments on commit c44ae5a

Please sign in to comment.