11 Commits

Author SHA1 Message Date
cloudix_mcp_server 45af418a38 fix: compile unrar from source (package not available in Alpine repos)
PR Checks / hadolint (pull_request) Successful in 6s
PR Checks / build-test (pull_request) Successful in 52s
2026-06-14 10:54:14 -04:00
cloudix_mcp_server dfa7e68730 fix: correct hadolint SHA in pr.yaml
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Failing after 12s
2026-06-13 21:12:25 -04:00
cloudix_mcp_server 0ec02f46e2 fix: correct hadolint SHA, remove test.sh (no tests in repo)
PR Checks / hadolint (pull_request) Failing after 2s
PR Checks / build-test (pull_request) Failing after 12s
2026-06-13 21:12:06 -04:00
cloudix_mcp_server c29a79f382 fix: rewrite tag.yaml to standard htpasswd pattern with correct SHAs
PR Checks / hadolint (pull_request) Failing after 11m20s
PR Checks / build-test (pull_request) Failing after 17s
2026-06-13 19:13:28 -04:00
cloudix_mcp_server 3d1fa54771 fix: rewrite pr.yaml to standard htpasswd pattern with correct SHAs (build-only)
PR / hadolint (pull_request) Successful in 7s
PR / build-test (pull_request) Failing after 13s
2026-06-13 19:13:23 -04:00
cloudix_mcp_server fe46afb2ee fix: rewrite cron.yaml to standard htpasswd pattern with correct SHAs
PR / hadolint (pull_request) Successful in 9s
PR / build-test (pull_request) Failing after 16s
2026-06-13 19:13:18 -04:00
cloudix_mcp_server b97743f2e4 fix: rewrite main.yaml to standard htpasswd pattern with correct SHAs (build-only test variant) 2026-06-13 19:13:13 -04:00
cloudix_mcp_server dcaf048ffa feat: add tag workflow (semver release push) - standard htpasswd pattern
PR / hadolint (pull_request) Successful in 15s
PR / build-test (pull_request) Failing after 13s
2026-06-13 18:18:28 -04:00
cloudix_mcp_server a1d1e02958 feat: add PR workflow (pull request checks) - standard htpasswd pattern 2026-06-13 18:18:22 -04:00
cloudix_mcp_server adff140753 feat: add cron workflow (daily midnight rebuild) - standard htpasswd pattern 2026-06-13 18:18:18 -04:00
cloudix_mcp_server 8e549808fb feat: add main workflow (push to master) - standard htpasswd pattern 2026-06-13 18:18:12 -04:00
5 changed files with 178 additions and 6 deletions
+56
View File
@@ -0,0 +1,56 @@
name: Nightly Rebuild
on:
schedule:
- cron: '0 0 * * *'
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: hadolint/hadolint-action@2332a7b74a6de0da2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- name: Build image
run: docker build -t ci-image:${{ github.sha }} .
build-push:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
fetch-depth: 0
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Get latest tag
id: get-latest-tag
run: |
TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
echo "tag=$TAG" >> $GITHUB_OUTPUT
echo "has_tag=$([ -n \"$TAG\" ] && echo true || echo false)" >> $GITHUB_OUTPUT
- id: meta
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6
with:
images: jcabillot/unrar
tags: |
type=raw,value=latest
type=raw,value=${{ steps.get-latest-tag.outputs.tag }}-latest,enable=${{ steps.get-latest-tag.outputs.has_tag }}
- uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
+43
View File
@@ -0,0 +1,43 @@
name: Main Release
on:
push:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} .
build:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t jcabillot/unrar:${{ github.sha }} .
tag:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
fetch-depth: 0
- name: Configure git auth
run: |
git remote set-url origin "https://x-access-token:${{ secrets.SA_TOKEN_ACTION_PUSH_TAGS }}@scm.cabillot.eu/perso/unrar-arm64.git"
- uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1.75.0
env:
GITHUB_TOKEN: ${{ secrets.SA_TOKEN_ACTION_PUSH_TAGS }}
DEFAULT_BUMP: patch
RELEASE_BRANCHES: master
WITH_V: true
GIT_API_TAGGING: false
+19
View File
@@ -0,0 +1,19 @@
name: PR Checks
on:
pull_request:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
continue-on-error: true
with:
dockerfile: Dockerfile
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} .
+49
View File
@@ -0,0 +1,49 @@
name: Tag Release
on:
push:
tags:
- v*
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: hadolint/hadolint-action@2332a7b74a6de0da2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- name: Build image
run: docker build -t ci-image:${{ github.sha }} .
build-push:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6
with:
images: jcabillot/unrar
tags: |
type=ref,event=tag
type=ref,event=tag,suffix=-latest
- uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
+11 -6
View File
@@ -1,10 +1,15 @@
FROM alpine:latest FROM alpine:latest
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>" LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
RUN apk add --no-cache unrar && \ RUN apk add --no-cache wget g++ make && \
rm -rf /usr/lib/ruby/gems/*/cache/* \ wget -q "https://www.rarlab.com/rar/unrarsrc-7.1.4.tar.gz" -O /tmp/unrar.tar.gz && \
/var/cache/apk/* \ tar xzf /tmp/unrar.tar.gz -C /tmp && \
/tmp/* \ cd /tmp/unrar && \
/var/tmp/* make -j$(nproc) && \
make install && \
cd / && \
rm -rf /tmp/unrar* && \
apk del wget g++ make && \
rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
ENTRYPOINT [ "/bin/sh", "-c", "cd /data && /usr/bin/unrar" ] ENTRYPOINT [ "/bin/sh", "-c", "cd /data && /usr/local/bin/unrar" ]