From 3c2e5d680aa31b888761ea4e2af90456b811c58e Mon Sep 17 00:00:00 2001 From: justyy Date: Tue, 18 Nov 2025 21:55:07 +0000 Subject: [PATCH] Init Pipeline --- .github/workflows/build-steemd.yml | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/build-steemd.yml diff --git a/.github/workflows/build-steemd.yml b/.github/workflows/build-steemd.yml new file mode 100644 index 0000000000..a077a20f66 --- /dev/null +++ b/.github/workflows/build-steemd.yml @@ -0,0 +1,46 @@ +name: Build All steemd Dockerfiles + +on: + push: + paths: + - "deploy/**" + - ".github/workflows/build-steemd.yml" + + pull_request: + + workflow_dispatch: + +jobs: + build-matrix: + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + dockerfile: + - Dockerfile.azurelinux3.0 + - Dockerfile.debian13 + - Dockerfile.ubuntu20.04 + - Dockerfile.ubuntu22.04 + - Dockerfile.ubuntu24.04 + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Build Docker image + run: | + set -ex + + FILE="deploy/${{ matrix.dockerfile }}" + NAME="${{ matrix.dockerfile }}" + TAG="steem:${NAME#Dockerfile.}" + + echo "Building Dockerfile: $FILE" + echo "Tag: $TAG" + + sudo -E docker build \ + --build-arg NUMBER_BUILD_THREADS=1 \ + -t "$TAG" \ + -f "$FILE" \ + .