Skip to content

Commit 3c368b7

Browse files
authored
Merge pull request #29 from linuxserver/rebase-3.20
2 parents a8942c0 + 2b8a74d commit 3c368b7

File tree

7 files changed

+12
-8
lines changed

7 files changed

+12
-8
lines changed

.github/workflows/external_trigger.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
2424
echo "> External trigger running off of main branch. To disable this trigger, add \`fail2ban_main\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
2525
printf "\n## Retrieving external version\n\n" >> $GITHUB_STEP_SUMMARY
26-
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
26+
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
2727
&& awk '/^P:'"fail2ban"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://')
2828
echo "Type is \`alpine_repo\`" >> $GITHUB_STEP_SUMMARY
2929
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
@@ -77,7 +77,7 @@ jobs:
7777
if [ "${EXT_RELEASE}" == "${IMAGE_VERSION}" ]; then
7878
echo "Version \`${EXT_RELEASE}\` already pushed, exiting" >> $GITHUB_STEP_SUMMARY
7979
exit 0
80-
elif [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/main/aarch64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"fail2ban"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]]; then
80+
elif [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"fail2ban"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]]; then
8181
echo "New version \`${EXT_RELEASE}\` found; but not all arch repos updated yet; exiting" >> $GITHUB_STEP_SUMMARY
8282
FAILURE_REASON="New version ${EXT_RELEASE} for fail2ban tag latest is detected, however not all arch repos are updated yet. Will try again later."
8383
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine:3.19
3+
FROM ghcr.io/linuxserver/baseimage-alpine:3.20
44

55
# set version label
66
ARG BUILD_DATE
@@ -33,6 +33,7 @@ RUN \
3333
/etc/logrotate.conf && \
3434
sed -i 's#/usr/sbin/logrotate /etc/logrotate.conf#/usr/sbin/logrotate /etc/logrotate.conf -s /config/log/logrotate.status#g' \
3535
/etc/periodic/daily/logrotate && \
36+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3637
echo "**** cleanup ****" && \
3738
rm -rf \
3839
/tmp/* \

Dockerfile.aarch64

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.19
3+
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20
44

55
# set version label
66
ARG BUILD_DATE
@@ -33,6 +33,7 @@ RUN \
3333
/etc/logrotate.conf && \
3434
sed -i 's#/usr/sbin/logrotate /etc/logrotate.conf#/usr/sbin/logrotate /etc/logrotate.conf -s /config/log/logrotate.status#g' \
3535
/etc/periodic/daily/logrotate && \
36+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3637
echo "**** cleanup ****" && \
3738
rm -rf \
3839
/tmp/* \

Jenkinsfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ pipeline {
2727
DEV_DOCKERHUB_IMAGE = 'lsiodev/fail2ban'
2828
PR_DOCKERHUB_IMAGE = 'lspipepr/fail2ban'
2929
DIST_IMAGE = 'alpine'
30-
DIST_TAG = '3.19'
31-
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.19/main/'
30+
DIST_TAG = '3.20'
31+
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.20/main/'
3232
DIST_REPO_PACKAGES = 'fail2ban'
3333
MULTIARCH='true'
3434
CI='true'

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
354354

355355
## Versions
356356

357+
* **12.10.24:** - Rebase to Alpine 3.20.
357358
* **05.03.24:** - Rebase to Alpine 3.19.
358359
* **01.06.23:** - Add optional VERBOSITY environment variable, allowing users to set the container log verbosity.
359360
* **25.05.23:** - Rebase to Alpine 3.18, deprecate armhf.

jenkins-vars.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ repo_vars:
1616
- DEV_DOCKERHUB_IMAGE = 'lsiodev/fail2ban'
1717
- PR_DOCKERHUB_IMAGE = 'lspipepr/fail2ban'
1818
- DIST_IMAGE = 'alpine'
19-
- DIST_TAG = '3.19'
20-
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.19/main/'
19+
- DIST_TAG = '3.20'
20+
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.20/main/'
2121
- DIST_REPO_PACKAGES = 'fail2ban'
2222
- MULTIARCH='true'
2323
- CI='true'

readme-vars.yml

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ app_setup_block: |
8080
8181
# changelog
8282
changelogs:
83+
- { date: "12.10.24:", desc: "Rebase to Alpine 3.20." }
8384
- { date: "05.03.24:", desc: "Rebase to Alpine 3.19." }
8485
- { date: "01.06.23:", desc: "Add optional VERBOSITY environment variable, allowing users to set the container log verbosity." }
8586
- { date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf." }

0 commit comments

Comments
 (0)