7 Commits

Author SHA1 Message Date
9bf0c90601 chore(deps): update docker/setup-buildx-action action to v4
All checks were successful
CI / ci (pull_request) Successful in 4s
Validate PR Title / validate (pull_request) Successful in 1s
2026-03-05 08:01:16 +00:00
c90128b64f chore(deps): update docker/login-action action to v4 (#17)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [docker/login-action](https://github.com/docker/login-action) | action | major | `v3` → `v4` |

---

### Release Notes

<details>
<summary>docker/login-action (docker/login-action)</summary>

### [`v4`](https://github.com/docker/login-action/compare/v3...v4)

[Compare Source](https://github.com/docker/login-action/compare/v3...v4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41Mi4wIiwidXBkYXRlZEluVmVyIjoiNDMuNTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: #17
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
2026-03-04 22:13:07 +00:00
2dc0b04e39 fix(docker): update to current Dockerfile formatting standards (#16)
Some checks failed
Release / Tag release (push) Successful in 9s
Release / Create Release (push) Successful in 44s
Release / Publish Docker Images (push) Failing after 1m16s
Reviewed-on: #16
2026-02-28 15:07:12 +00:00
e9a8eb75fb chore(deps): update alpine docker tag to v3.23.3 (#14)
Some checks failed
Release / Tag release (push) Successful in 11s
Release / Create Release (push) Successful in 2s
Release / Publish Docker Images (push) Failing after 48s
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
2026-01-28 01:44:54 +00:00
158aa2af32 chore(deps): update actions/checkout action to v6.0.2 (#12)
Some checks failed
Release / Tag release (push) Successful in 9s
Release / Create Release (push) Successful in 2s
Release / Publish Docker Images (push) Failing after 1m12s
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
2026-01-22 17:05:47 +00:00
7167639e79 chore(ci): enable OSV vulnerability alerts and summary in Renovate configuration (#11)
Reviewed-on: #11
2026-01-21 20:57:14 +00:00
e873c70093 Update renovate.json 2026-01-19 20:22:14 +00:00
4 changed files with 41 additions and 27 deletions

View File

@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v6.0.1 uses: actions/checkout@v6.0.2
with: with:
fetch-depth: 0 fetch-depth: 0
@@ -42,10 +42,10 @@ jobs:
# # command: snyk # # command: snyk
# args: snyk code test --all-projects --exclude=.archive # args: snyk code test --all-projects --exclude=.archive
- name: Snyk Vulnerability Scan # - name: Snyk Vulnerability Scan
uses: snyk/actions/python@master # uses: snyk/actions/python@master
continue-on-error: true # Sometimes vulns aren't immediately fixable # continue-on-error: true # Sometimes vulns aren't immediately fixable
env: # env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} # SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with: # with:
args: test --all-projects # args: test --all-projects

View File

@@ -45,23 +45,23 @@ jobs:
REPO: ${{ gitea.repository }} REPO: ${{ gitea.repository }}
- name: Check out repository - name: Check out repository
uses: actions/checkout@v6.0.1 uses: actions/checkout@v6.0.2
with: with:
fetch-depth: 0 fetch-depth: 0
ref: ${{ needs.tag.outputs.tag_name }} ref: ${{ needs.tag.outputs.tag_name }}
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v4
- name: Log in to Gitea Container Registry - name: Log in to Gitea Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
registry: ${{ vars.PACKAGES_REGISTRY_URL }} registry: ${{ vars.PACKAGES_REGISTRY_URL }}
username: ${{ vars.ACTIONS_USERNAME }} username: ${{ vars.ACTIONS_USERNAME }}
password: ${{ secrets.ACTIONS_TOKEN }} password: ${{ secrets.ACTIONS_TOKEN }}
- name: Log in to GitHub Container Registry - name: Log in to GitHub Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ vars.GHCR_USERNAME }} username: ${{ vars.GHCR_USERNAME }}

View File

@@ -1,20 +1,22 @@
FROM alpine:3.23.2 as build FROM alpine:3.23.3 AS webproc
SHELL ["/bin/ash", "-o", "pipefail", "-c"]
ENV WEBPROCVERSION=0.4.0
ENV WEBPROCURL=https://github.com/jpillora/webproc/releases/download/v$WEBPROCVERSION/webproc_"$WEBPROCVERSION"_linux_amd64.gz
RUN apk add --no-cache curl=8.17.0-r1 && \
curl -sL $WEBPROCURL | gzip -d - > /usr/local/bin/webproc && \
chmod +x /usr/local/bin/webproc
FROM alpine:3.23.3
LABEL maintainer="Luke Tainton <luke@tainton.uk>" LABEL maintainer="Luke Tainton <luke@tainton.uk>"
LABEL org.opencontainers.image.source="https://git.tainton.uk/repos/docker-radius" LABEL org.opencontainers.image.source="https://git.tainton.uk/repos/docker-radius"
LABEL org.opencontainers.image.description="FreeRADIUS server with web administration interface"
FROM build as webproc LABEL org.opencontainers.image.title="docker-radius"
ENV WEBPROCVERSION 0.4.0 SHELL ["/bin/ash", "-o", "pipefail", "-c"]
ENV WEBPROCURL https://github.com/jpillora/webproc/releases/download/v$WEBPROCVERSION/webproc_"$WEBPROCVERSION"_linux_amd64.gz RUN apk --no-cache add freeradius=3.0.27-r2
RUN apk add --no-cache curl
RUN curl -sL $WEBPROCURL | gzip -d - > /usr/local/bin/webproc
RUN chmod +x /usr/local/bin/webproc
FROM build as radius
RUN apk --no-cache add freeradius
COPY --from=webproc /usr/local/bin/webproc /usr/local/bin/webproc COPY --from=webproc /usr/local/bin/webproc /usr/local/bin/webproc
ADD clients.conf /etc/raddb/clients.conf COPY clients.conf /etc/raddb/clients.conf
ADD users /etc/raddb/users COPY users /etc/raddb/users
ADD radiusd.conf /etc/raddb/radiusd.conf COPY radiusd.conf /etc/raddb/radiusd.conf
RUN chmod -R o-w /etc/raddb/ RUN chmod -R o-w /etc/raddb/
ENTRYPOINT ["webproc","-o","restart","-c","/etc/raddb/users","-c", "/etc/raddb/clients.conf", "-c", "/etc/raddb/radiusd.conf","--","radiusd","-f","-l","stdout"] ENTRYPOINT ["webproc","-o","restart","-c","/etc/raddb/users","-c", "/etc/raddb/clients.conf", "-c", "/etc/raddb/radiusd.conf","--","radiusd","-f","-l","stdout"]
EXPOSE 1812/udp 1813/udp 8080/tcp EXPOSE 1812/udp 1813/udp 8080/tcp

View File

@@ -11,6 +11,8 @@
"semanticCommits": "enabled", "semanticCommits": "enabled",
"semanticCommitScope": "deps", "semanticCommitScope": "deps",
"semanticCommitType": "feat", "semanticCommitType": "feat",
"osvVulnerabilityAlerts": true,
"dependencyDashboardOSVVulnerabilitySummary": "all",
"vulnerabilityAlerts": { "vulnerabilityAlerts": {
"commitMessagePrefix": "[SECURITY] ", "commitMessagePrefix": "[SECURITY] ",
"enabled": true, "enabled": true,
@@ -19,5 +21,15 @@
}, },
"lockFileMaintenance": { "lockFileMaintenance": {
"enabled": true "enabled": true
},
"packageRules": [
{
"matchDepTypes": ["devDependencies"],
"automerge": true
},
{
"matchUpdateTypes": ["patch"],
"automerge": true
} }
]
} }