From: PhiTux Date: Sun, 12 Oct 2025 12:25:02 +0000 (+0200) Subject: update build-script X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=adcdfb494c00075969e2db7f4db8f9e46050bf3e;p=DailyTxT.git update build-script --- diff --git a/README.md b/README.md index 2bbbc1e..69a4c1e 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ You see it here: ```yaml services: dailytxt: + # choose the correct image tag image: phitux/dailytxt:2.x.x container_name: dailytxt restart: unless-stopped diff --git a/build.sh b/build.sh index 3a5b941..d55fc5f 100755 --- a/build.sh +++ b/build.sh @@ -43,10 +43,10 @@ else --push) echo "Pushing image to Docker registry..." # Build for multiple platforms and push to registry - #docker buildx build \ - # --platform linux/amd64,linux/arm64 \ - # -t phitux/dailytxt:$IMAGE_TAG \ - # --push . + docker buildx build \ + --platform linux/amd64,linux/arm64 \ + -t phitux/dailytxt:$IMAGE_TAG \ + --push . ;; *) echo "Unknown second argument: '$PUSH_FLAG'" diff --git a/docker-compose.yml b/docker-compose.yml index 2c1cdb7..a22a9a5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,6 @@ services: dailytxt: + # choose the correct image tag image: phitux/dailytxt:2.x.x container_name: dailytxt restart: unless-stopped