From 99c9d137f95b6afcba71743ca2d9d397895b2a73 Mon Sep 17 00:00:00 2001 From: notshivansh Date: Fri, 3 Jan 2025 17:59:46 +0530 Subject: [PATCH] fix prod.yml --- .github/workflows/prod.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 3c0ad4600f..e393c514cb 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -94,31 +94,31 @@ jobs: fi if [[ "${{ github.event.inputs.testing }}" == "true" ]]; then - cd apps/testing + cd ../testing docker buildx build --platform linux/arm64/v8,linux/amd64 -t $ECR_REGISTRY/akto-api-testing:$IMAGE_TAG_1 -t $ECR_REGISTRY/akto-api-testing:$IMAGE_TAG_2 . --push echo "::set-output name=image::$ECR_REGISTRY/akto-api-testing:$IMAGE_TAG" fi if [[ "${{ github.event.inputs.testing }}" == "true" ]]; then - cd apps/testing-cli + cd ../testing-cli docker buildx build --platform linux/arm64/v8,linux/amd64 -t $ECR_REGISTRY/akto-api-testing-cli:$IMAGE_TAG_1 -t $ECR_REGISTRY/akto-api-testing-cli:$IMAGE_TAG_2 . --push echo "::set-output name=image::$ECR_REGISTRY/akto-api-testing-cli:$IMAGE_TAG" fi if [[ "${{ github.event.inputs.billing }}" == "true" ]]; then - cd apps/billing + cd ../billing docker buildx build --platform linux/arm64/v8,linux/amd64 -t $ECR_REGISTRY/akto-billing:$IMAGE_TAG_1 -t $ECR_REGISTRY/akto-billing:$IMAGE_TAG_2 . --push echo "::set-output name=image::$ECR_REGISTRY/akto-billing:$IMAGE_TAG" fi if [[ "${{ github.event.inputs.internal }}" == "true" ]]; then - cd apps/internal + cd ../internal docker buildx build --platform linux/arm64/v8,linux/amd64 -t $ECR_REGISTRY/akto-internal:$IMAGE_TAG_1 -t $ECR_REGISTRY/akto-internal:$IMAGE_TAG_2 . --push echo "::set-output name=image::$ECR_REGISTRY/akto-internal:$IMAGE_TAG" fi if [[ "${{ github.event.inputs.protection }}" == "true" ]]; then - cd apps/api-threat-detection + cd ../api-threat-detection docker buildx build --platform linux/arm64/v8,linux/amd64 -t $ECR_REGISTRY/akto-api-protection:$IMAGE_TAG_1 -t $ECR_REGISTRY/akto-api-protection:$IMAGE_TAG_2 -t $ECR_REGISTRY/akto-api-protection:$IMAGE_TAG_3 . --push echo "::set-output name=image::$ECR_REGISTRY/akto-api-protection:$IMAGE_TAG" fi