From d5ffdf0fac4dde3834bdbb2336462305a1eefbe9 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Thu, 5 Sep 2024 16:34:50 +0800 Subject: [PATCH] Update build target and some fixes --- .woodpecker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 669cf95..82aac37 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,7 +6,7 @@ steps: - branch: master event: push commands: - - docker build --no-cache -t git.keannu1.duckdns.org/keannu125/drf_template . + - docker build --platform linux/arm64 --no-cache -t git.keannu1.duckdns.org/keannu125/drf_template . - echo "$REGISTRY_PASSWORD" | docker login git.keannu1.duckdns.org --password-stdin -u "$REGISTRY_USERNAME" - docker push git.keannu1.duckdns.org/keannu125/drf_template volumes: @@ -28,6 +28,6 @@ steps: docker image rm git.keannu1.duckdns.org/keannu125/drf_template || true; docker volume rm drf_template_db_data || true; docker pull git.keannu1.duckdns.org/keannu125/drf_template:latest; - curl https://raw.githubusercontent.com/lemeow125/DRF_Template/master/docker-compose.demo.yml | tee docker-compose.demo.yml > /dev/null + curl "https://raw.githubusercontent.com/lemeow125/DRF_Template/master/docker-compose.demo.yml" | tee docker-compose.demo.yml > /dev/null docker compose -f docker-compose.demo.yml up -d;' secrets: [SSH_KEY, REMOTE_HOST]