Skip to content

Commit

Permalink
fix e2e (path to images incorrect) (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverMKing authored Jan 28, 2025
1 parent 989112b commit 4fbe72e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/e2e/infra/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (i *infra) Provision(ctx context.Context, tenantId, subscriptionId, applica

resEg.Go(func() error {
e2eRepoAndTag := "e2e:" + i.Suffix
if err := ret.ContainerRegistry.BuildAndPush(ctx, e2eRepoAndTag, "../../", "../../docker/e2e.Dockerfile"); err != nil {
if err := ret.ContainerRegistry.BuildAndPush(ctx, e2eRepoAndTag, ".", "./docker/e2e.Dockerfile"); err != nil {
return logger.Error(lgr, fmt.Errorf("building and pushing e2e image: %w", err))
}
ret.E2eImage = ret.ContainerRegistry.GetName() + ".azurecr.io/" + e2eRepoAndTag
Expand All @@ -68,7 +68,7 @@ func (i *infra) Provision(ctx context.Context, tenantId, subscriptionId, applica

resEg.Go(func() error {
operatorRepoAndTag := "operator:" + i.Suffix
if err := ret.ContainerRegistry.BuildAndPush(ctx, operatorRepoAndTag, "../../", "../../docker/operator.Dockerfile"); err != nil {
if err := ret.ContainerRegistry.BuildAndPush(ctx, operatorRepoAndTag, ".", "./docker/operator.Dockerfile"); err != nil {
return logger.Error(lgr, fmt.Errorf("building and pushing operator image: %w", err))
}
ret.OperatorImage = ret.ContainerRegistry.GetName() + ".azurecr.io/" + operatorRepoAndTag
Expand Down

0 comments on commit 4fbe72e

Please sign in to comment.