Action publish package under wrong repository

I have this 3 repositories

1 - kerberus-dashboard-frontend
2 - kerberus-dashboard-backend
3 - kerberus-dashboard

I have build actions to build and publish package on repository 1 and 2, but both published packages are under repository 3.

Screenshot 2021-08-11 at 15.11.23

this is my publish step (for repo 1)

- name: Build and push
   id: docker_build
   uses: docker/build-push-action@v2
      file: ./Dockerfile
      push: true

any suggestion? thanks