- Login on your pc to the Docker account via Docker Desktop application. Credentials you can find in the Keeper under "DockerHub" record.
- Go to the directory where the Dockerfile is located
- Run the following command:
docker build --platform=linux/amd64 -t <local_image_name> /Path/to/Dockerfile
docker tag <local_image_name> <target_image_name>:<tag>
docker push <target_image_name>:<tag>For example:
docker build --platform=linux/amd64 -t portadev/pimcore-web Pimweb/php:8-4
docker tag portadev/pimcore-web portadev/pimcore-web:8.4
docker push portadev/pimcore-web:8.4docker build --platform=linux/amd64 -t portadev/pimcore Pimcore/php:8-3
docker tag portadev/pimcore portadev/pimcore:8.3
docker push portadev/pimcore:8.3- The images should be built and pushed to the target repositories: