Skip to content

Commit

Permalink
Merge pull request #1907 from akto-api-security/hotfix/fix_prod
Browse files Browse the repository at this point in the history
fix prod.yml
  • Loading branch information
notshivansh authored Jan 3, 2025
2 parents 9c4c90b + 99c9d13 commit 8e980ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e980ea

Please sign in to comment.