From 5cb34f9089a90b66805246ac922ec3a69d1f95de Mon Sep 17 00:00:00 2001 From: Andrea Zucchelli Date: Thu, 14 Nov 2024 23:49:45 +0100 Subject: [PATCH] fix: settings.py only amd64 --- .forgejo/workflows/build_container-frontend.yaml | 5 ++++- .forgejo/workflows/build_container-worker.yaml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build_container-frontend.yaml b/.forgejo/workflows/build_container-frontend.yaml index 6421970..7b2a22d 100644 --- a/.forgejo/workflows/build_container-frontend.yaml +++ b/.forgejo/workflows/build_container-frontend.yaml @@ -48,11 +48,14 @@ jobs: type=semver,pattern={{major}} - name: Copy .env run: cp .env-dist .env + - name: Link settings.py + run: ln -s settings_dist.py wg_manager/settings.py - name: Build and push Docker image FE uses: docker/build-push-action@v6 with: context: . - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 + #,linux/arm64 file: Containerfile push: true tags: ${{ steps.meta.outputs.tags }} diff --git a/.forgejo/workflows/build_container-worker.yaml b/.forgejo/workflows/build_container-worker.yaml index bd5fada..85dbe28 100644 --- a/.forgejo/workflows/build_container-worker.yaml +++ b/.forgejo/workflows/build_container-worker.yaml @@ -48,11 +48,14 @@ jobs: type=semver,pattern={{major}} - name: Copy .env run: cp .env-dist .env + - name: Link settings.py + run: ln -s settings_dist.py wg_manager/settings.py - name: Build and push Docker image FE uses: docker/build-push-action@v6 with: context: . - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 + #,linux/arm64 file: Containerfile-worker push: true tags: ${{ steps.meta.outputs.tags }}