Service 'mariadb' failed to build : Build failed Step 1/1 : FROM -platform=linux mariadb:latest Sending build context to Docker daemon 2.048kB
The result with this change: Creating network 'docker_default' with the default driver What I also tried to build the image using DockerFiles like this: version: '3.1'ĭockerFiles are basically the same only changing the image name: FROM -platform=linux mariadb:latest The result is this with platform: linux or platform: linux/amd64: Creating network 'docker_default' with the default driver So I tried to include platform tag on my YAML like this version: '3.1' No matching manifest for windows/amd64 3 in the manifest list entries In the scenario above I get this error: latest: Pulling from library/mariadb Image: oracleinanutshell/oracle-xe-11g:latest The usernames and passwords were removed from the example, of course version: '3.1' If I run on my laptop using Docker for Windows and WSL it also works but it’s not working on windows agent on github. As the project is a ORM extension so I need to actually test it against the database in some cases without mocking it so I can validate if it’s really working.
I have the YAML below to start the database using docker. I’m having trouble using github actions to test my project as it has to run on windows and I need to use databases to test it. 28th June 2021 docker-compose, dockerfile, github-actions, linux, mariadb