File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : ftl-build builds
22on :
3- pull_request :
4- paths :
5- - ' ftl-build/**'
6- - ' .github/workflows/ftl-build.yml'
73 push :
84 branches :
95 - ' **'
10- tags :
11- - " **"
126 paths :
137 - ' ftl-build/**'
148 - ' .github/workflows/ftl-build.yml'
159 - ' .github/actions/**'
10+ # Only run on push events to the main repository (not from forks)
11+ pull_request :
12+ types : [opened, synchronize, reopened]
13+ paths :
14+ - ' ftl-build/**'
15+ - ' .github/workflows/ftl-build.yml'
16+ # Only run on PRs from forks
17+ branches :
18+ - ' **'
1619 workflow_dispatch :
1720 schedule :
1821 # 1:30am UTC every Sunday, has no particular significance
2427
2528jobs :
2629 build-and-test :
27- runs-on : ubuntu-latest
30+ if : |
31+ (github.event_name == 'push' && github.repository == 'pi-hole/docker-base-images') ||
32+ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
2833 strategy :
2934 fail-fast : false
3035 matrix :
3136 include :
3237 - platform : linux/amd64
38+ runner : ubuntu-24.04
3339 - platform : linux/386
40+ runner : ubuntu-24.04
3441 - platform : linux/arm/v6
42+ runner : ubuntu-24.04-arm
3543 - platform : linux/arm/v7
44+ runner : ubuntu-24.04-arm
3645 - platform : linux/arm64/v8
46+ runner : ubuntu-24.04-arm
3747 - platform : linux/riscv64
48+ runner : ubuntu-24.04
49+ runs-on : ${{ matrix.runner }}
3850 steps :
3951 -
4052 name : Prepare name for digest up/download
Original file line number Diff line number Diff line change 1- ARG CONTAINER="alpine:3.21 "
1+ ARG CONTAINER="alpine:3.22 "
22FROM ${CONTAINER} AS builder
33
44ARG TARGETPLATFORM
55ARG readlineversion=8.2
66ARG termcapversion=1.3.1
77ARG nettleversion=3.10.1
8- ARG mbedtlsversion=3.6.2
8+ ARG mbedtlsversion=3.6.3.1
99
1010RUN apk add --no-cache \
1111 alpine-sdk \
1212 bash \
1313 bind-tools \
1414 curl \
1515 gmp-dev \
16+ gmp-static \
1617 libcap \
1718 linux-headers \
1819 openssh-client \
@@ -40,10 +41,11 @@ RUN apk add --no-cache \
4041 gdb \
4142 py3-jinja2 \
4243 py3-jsonschema \
43- ncurses
44+ ncurses \
45+ py3-dnspython
4446
45- ENV STATIC true
46- ENV TEST true
47+ ENV STATIC= true
48+ ENV TEST= true
4749
4850# As of Alpine 3.21 (Dec 2024), we need to patch the termcap library to include
4951# the standard headers as well as unistd.h for the write function
You can’t perform that action at this time.
0 commit comments