Don't use buildx unless it's needed to speed things up

This commit is contained in:
Luis Ángel San Martín 2024-09-21 20:29:50 +02:00
parent 2e42afb3ac
commit 0874802b3f

View File

@ -319,7 +319,7 @@ jobs:
- script: |
cd $(Build.SourcesDirectory)/docker/
docker buildx build --no-cache --platform linux/amd64 -f Dockerfile -t yacreaderlibraryserver:develop-amd64 .
docker build --no-cache --platform linux/amd64 -f Dockerfile -t yacreaderlibraryserver:develop-amd64 .
docker buildx build --no-cache --platform linux/arm64 -f Dockerfile.aarch64 -t yacreaderlibraryserver:develop-arm64 .
docker manifest create yacreaderlibraryserver:develop \
--amend yacreaderlibraryserver:develop-amd64 \