Specify platform when building, not that i think it matters

This commit is contained in:
Luke Robles 2023-05-18 08:21:29 -07:00
parent 5004bef6e8
commit 751881a9bb

View File

@ -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: