test: Add an e2e test for build&push (#69)

* test: Add an e2e test for build&push

* test: Add image cleanup

* test: Switch to assert.NoError
This commit is contained in:
Anton Ovchinnikov authored and GitHub committed 2025-06-09 22:10:53 +02:00
1 parent 971b21d6c1
commit 2f55af0cab
11 files changed
+196 -19

No files matched your search

+2 -5
View File
@@ -92,11 +92,8 @@ func runDeploy(ctx context.Context, uncli *cli.CLI, opts deployOptions) error {
fmt.Println("Not building services as requested.")
} else {
buildOpts := cli.BuildOptions{
Files: opts.files,
Profiles: opts.profiles,
Services: opts.services,
Push: true,
NoCache: false,
Push: true,
NoCache: false,
}
if err := cli.BuildServices(ctx, servicesToBuild, buildOpts); err != nil {