File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build All steemd Dockerfiles
2+
3+ on :
4+ push :
5+ paths :
6+ - " deploy/**"
7+ - " .github/workflows/build-steemd.yml"
8+
9+ pull_request :
10+
11+ workflow_dispatch :
12+
13+ jobs :
14+ build-matrix :
15+ runs-on : ubuntu-latest
16+
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ dockerfile :
21+ - Dockerfile.azurelinux3.0
22+ - Dockerfile.debian13
23+ - Dockerfile.ubuntu20.04
24+ - Dockerfile.ubuntu22.04
25+ - Dockerfile.ubuntu24.04
26+
27+ steps :
28+ - name : Checkout code
29+ uses : actions/checkout@v4
30+
31+ - name : Build Docker image
32+ run : |
33+ set -ex
34+
35+ FILE="deploy/${{ matrix.dockerfile }}"
36+ NAME="${{ matrix.dockerfile }}"
37+ TAG="steem:${NAME#Dockerfile.}"
38+
39+ echo "Building Dockerfile: $FILE"
40+ echo "Tag: $TAG"
41+
42+ sudo -E docker build \
43+ --build-arg NUMBER_BUILD_THREADS=1 \
44+ -t "$TAG" \
45+ -f "$FILE" \
46+ .
You can’t perform that action at this time.
0 commit comments