From 5744ebea0f443fd57640f724de4534d8e2d37a60 Mon Sep 17 00:00:00 2001 From: koneko <67551503+koneko@users.noreply.github.com> Date: Tue, 26 Aug 2025 16:14:13 +0200 Subject: [PATCH] fml --- .gitea/workflows/deploy.yml | 13 ++++++++----- docker-bake.override.hcl | 3 +++ 2 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 docker-bake.override.hcl diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 3182cc3..a0ba6d0 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -14,8 +14,11 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Deploy with Docker Compose - run: | - docker compose down - docker compose build --no-cache - docker compose up -d + - name: Stop containers + run: docker compose down + + - name: Build containers + run: docker compose build --no-cache + + - name: Deploy containers + run: docker compose up -d diff --git a/docker-bake.override.hcl b/docker-bake.override.hcl new file mode 100644 index 0000000..e4b5724 --- /dev/null +++ b/docker-bake.override.hcl @@ -0,0 +1,3 @@ +group "default" { + targets = ["api", "web", "bot"] +} \ No newline at end of file