From 751881a9bbfd7fb5ea8a1932d302e743af8c85bb Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Thu, 18 May 2023 08:21:29 -0700 Subject: [PATCH] Specify platform when building, not that i think it matters --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3bd4fab6..579486ea 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,7 +37,7 @@ build_and_push_container: - echo "Wait for Docker daemon at tcp://localhost:2375" - while ! nc -z localhost 2375; do sleep 0.1; done # Wait until docker socket is available - docker login -u ldooks -p $DOCKER_ACCESS_TOKEN - - docker build -t ldooks/dragon-bot:$CI_PIPELINE_IID -t ldooks/dragon-bot:latest . + - docker build --platform linux/amd64 -t ldooks/dragon-bot:$CI_PIPELINE_IID -t ldooks/dragon-bot:latest . - docker push ldooks/dragon-bot -a rules: - changes: