From 939660a71511c0c3de2c1ff4bf7d44d57f8394bf Mon Sep 17 00:00:00 2001 From: Brock H Caldwell Date: Tue, 10 Mar 2026 23:48:12 -0500 Subject: [PATCH] task(ci): build base images --- .gitea/workflows/build_base_images.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build_base_images.yml b/.gitea/workflows/build_base_images.yml index c1b7751..abbce27 100644 --- a/.gitea/workflows/build_base_images.yml +++ b/.gitea/workflows/build_base_images.yml @@ -57,8 +57,18 @@ jobs: username: "${{ vars.REGISTRY_USER }}" password: "${{ vars.REGISTRY_PASS }}" - - name: Create torsearch-scheduler docker image - run: | - export ALPINE_VERSION=3.22 - docker buildx build --platform=linux/amd64 -f docker/Dockerfile.base.worker -t code.caldwell.digital/home/torsearch-base-worker-supervisord:latest --build-arg "ALPINE_VERSION=${ALPINE_VERSION}" . - docker push --platform=linux/amd64 code.caldwell.digital/home/torsearch-base-worker-supervisord:latest + - name: Build and push + uses: docker/build-push-action@v5 + env: + ALPINE_VERSION: 3.22 + with: + context: . + push: true + file: docker/Dockerfile.base.worker + platforms: linux/amd64,linux/arm64 + tags: | + code.caldwell.digital/home/torsearch-base-worker-supervisord:latest + +# - name: Create torsearch-scheduler docker image +# run: | +# docker buildx build --platform=linux/amd64 -f docker/Dockerfile.base.worker -t code.caldwell.digital/home/torsearch-base-worker-supervisord:latest --build-arg "ALPINE_VERSION=${ALPINE_VERSION}" .