Skip to content

Commit

Permalink
fix prod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
notshivansh committed Jan 3, 2025
1 parent 99c9d13 commit b122e0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ jobs:
run: |
docker buildx create --use
# Build a docker container and push it to DockerHub
cd apps
if [[ "${{ github.event.inputs.dashboard }}" == "true" ]]; then
cd apps/dashboard
cd ../dashboard
docker buildx build --platform linux/arm64/v8,linux/amd64 -t $ECR_REGISTRY/$ECR_REPOSITORY-dashboard:$IMAGE_TAG_1 -t $ECR_REGISTRY/$ECR_REPOSITORY-dashboard:$IMAGE_TAG_2 . --push
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY-dashboard:$IMAGE_TAG"
fi
Expand Down

0 comments on commit b122e0d

Please sign in to comment.