File tree Expand file tree Collapse file tree 2 files changed +26
-12
lines changed Expand file tree Collapse file tree 2 files changed +26
-12
lines changed Original file line number Diff line number Diff line change 1
1
name : ftl-build builds
2
2
on :
3
- pull_request :
4
- paths :
5
- - ' ftl-build/**'
6
- - ' .github/workflows/ftl-build.yml'
7
3
push :
8
4
branches :
9
5
- ' **'
10
- tags :
11
- - " **"
12
6
paths :
13
7
- ' ftl-build/**'
14
8
- ' .github/workflows/ftl-build.yml'
15
9
- ' .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
+ - ' **'
16
19
workflow_dispatch :
17
20
schedule :
18
21
# 1:30am UTC every Sunday, has no particular significance
24
27
25
28
jobs :
26
29
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)
28
33
strategy :
29
34
fail-fast : false
30
35
matrix :
31
36
include :
32
37
- platform : linux/amd64
38
+ runner : ubuntu-24.04
33
39
- platform : linux/386
40
+ runner : ubuntu-24.04
34
41
- platform : linux/arm/v6
42
+ runner : ubuntu-24.04-arm
35
43
- platform : linux/arm/v7
44
+ runner : ubuntu-24.04-arm
36
45
- platform : linux/arm64/v8
46
+ runner : ubuntu-24.04-arm
37
47
- platform : linux/riscv64
48
+ runner : ubuntu-24.04
49
+ runs-on : ${{ matrix.runner }}
38
50
steps :
39
51
-
40
52
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 "
2
2
FROM ${CONTAINER} AS builder
3
3
4
4
ARG TARGETPLATFORM
5
5
ARG readlineversion=8.2
6
6
ARG termcapversion=1.3.1
7
7
ARG nettleversion=3.10.1
8
- ARG mbedtlsversion=3.6.2
8
+ ARG mbedtlsversion=3.6.3.1
9
9
10
10
RUN apk add --no-cache \
11
11
alpine-sdk \
12
12
bash \
13
13
bind-tools \
14
14
curl \
15
15
gmp-dev \
16
+ gmp-static \
16
17
libcap \
17
18
linux-headers \
18
19
openssh-client \
@@ -40,10 +41,11 @@ RUN apk add --no-cache \
40
41
gdb \
41
42
py3-jinja2 \
42
43
py3-jsonschema \
43
- ncurses
44
+ ncurses \
45
+ py3-dnspython
44
46
45
- ENV STATIC true
46
- ENV TEST true
47
+ ENV STATIC= true
48
+ ENV TEST= true
47
49
48
50
# As of Alpine 3.21 (Dec 2024), we need to patch the termcap library to include
49
51
# the standard headers as well as unistd.h for the write function
You can’t perform that action at this time.
0 commit comments