21 Commits

Author SHA1 Message Date
jcabillot 0e2947f477 Merge pull request 'chore(deps): update actions/checkout action to v7' (#13) from renovate/actions-checkout-7.x into master
Main Release / hadolint (push) Successful in 9s
Main Release / test (push) Successful in 17s
Main Release / build (push) Successful in 19s
Main Release / tag (push) Successful in 14s
Tag Release / hadolint (push) Successful in 11s
Tag Release / test (push) Successful in 18s
Tag Release / build-push (push) Successful in 1m4s
Reviewed-on: #13
2026-06-18 16:23:47 -04:00
renovate 23a1bb1c1f chore(deps): update actions/checkout action to v7
PR Checks / hadolint (pull_request) Successful in 9s
PR Checks / build-test (pull_request) Successful in 12s
2026-06-18 15:19:21 +00:00
jcabillot 680a4464e9 Merge pull request 'Standardize workflows to htpasswd pattern' (#12) from fix/workflow-standard into master
Main Release / hadolint (push) Successful in 8s
Main Release / test (push) Successful in 15s
Main Release / build (push) Successful in 16s
Main Release / tag (push) Successful in 15s
Tag Release / hadolint (push) Successful in 11s
Tag Release / test (push) Successful in 14s
Tag Release / build-push (push) Successful in 46s
Reviewed-on: #12
2026-06-13 22:15:43 -04:00
cloudix_mcp_server 88889b1238 fix: remove test.sh from pr.yaml (no tests/test.sh in repo)
PR Checks / hadolint (pull_request) Successful in 6s
PR Checks / build-test (pull_request) Successful in 11s
2026-06-13 20:27:01 -04:00
cloudix_mcp_server 03af674b15 fix: remove test.sh from tag.yaml test job (no tests/test.sh in repo) 2026-06-13 20:26:58 -04:00
cloudix_mcp_server b8801d0994 fix: remove test.sh from cron.yaml test job (no tests/test.sh in repo)
PR Checks / hadolint (pull_request) Failing after 4s
PR Checks / build-test (pull_request) Successful in 15s
2026-06-13 20:26:53 -04:00
cloudix_mcp_server 1ad543744e fix: remove test.sh from main.yaml test job (no tests/test.sh in repo)
PR Checks / hadolint (pull_request) Failing after 4s
PR Checks / build-test (pull_request) Successful in 16s
2026-06-13 20:26:49 -04:00
cloudix_mcp_server 93be7e4969 fix: correct all action SHAs in tag.yaml
PR Checks / hadolint (pull_request) Failing after 3s
PR Checks / build-test (pull_request) Successful in 15s
2026-06-13 19:12:46 -04:00
cloudix_mcp_server 6184c6acd7 fix: correct all action SHAs in pr.yaml
PR Checks / hadolint (pull_request) Failing after 2s
PR Checks / build-test (pull_request) Successful in 13s
2026-06-13 19:12:42 -04:00
cloudix_mcp_server 2c25d9e586 fix: correct all action SHAs in cron.yaml
PR Checks / hadolint (pull_request) Failing after 3s
PR Checks / build-test (pull_request) Failing after 3s
2026-06-13 19:12:36 -04:00
cloudix_mcp_server 531647437b fix: correct all action SHAs in main.yaml 2026-06-13 19:12:34 -04:00
Sagent 07de65c37e Standardize workflows to htpasswd pattern
PR Checks / hadolint (pull_request) Failing after 3s
PR Checks / build-test (pull_request) Failing after 2s
Transform all 4 workflow files to match the standard pattern used by
perso/htpasswd (and offlineimap):

main.yaml:
  - Rename to 'Main Release'
  - hadolint (continue-on-error, dockerfile param) → test (build ci-image, run tests)
  → build (no push, just build target image) → tag (fetch-depth 0, git auth with
    SA_TOKEN_ACTION_PUSH_TAGS, semver tagging)

cron.yaml:
  - Keep original schedule '0 0 * * *'
  - hadolint → test → build-push (get-latest-tag, metadata with -latest
    only, no :latest tag)

tag.yaml:
  - hadolint → test → build-push (type=ref,event=tag + suffix=-latest)

pr.yaml:
  - hadolint (no continue-on-error, add dockerfile param) → build-test
  - Scope to pull_request branches: [master]
  - Use ci-image pattern with buildx setup
2026-06-13 21:25:36 +00:00
jcabillot 6bd30a997e Merge pull request 'feat(ci): refactor pipelines — hadolint, PR checks, tag releases, nightly rebuild' (#11) from fix/refactor-ci-pipelines into master
Main CI / hadolint (push) Successful in 6s
Main CI / build-push (push) Successful in 32s
Main CI / test (push) Failing after 5s
Main CI / tag (push) Has been skipped
Reviewed-on: #11
2026-06-12 16:17:16 -04:00
cloudix_mcp_server fd743b2ae4 ci: remove old monolithic docker-build.yaml
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Successful in 12s
2026-06-12 16:08:25 -04:00
cloudix_mcp_server 2335b565eb feat(ci): add nightly rebuild workflow 2026-06-12 16:08:23 -04:00
cloudix_mcp_server a4b91304d9 feat(ci): add tag release workflow 2026-06-12 16:08:20 -04:00
cloudix_mcp_server 7f58b177e1 feat(ci): add main CI workflow with build-push, test, and tag 2026-06-12 16:08:18 -04:00
cloudix_mcp_server 338ce8054a feat(ci): add PR checks workflow with hadolint and build-test 2026-06-12 16:08:14 -04:00
jcabillot 888211c106 Merge pull request 'ci: add automatic semver tagging on merge to master' (#10) from feat/semver-tag-action into master
Docker Build and Push / lint (push) Successful in 7s
Docker Build and Push / build (push) Successful in 49s
Docker Build and Push / test (push) Successful in 10s
Docker Build and Push / push (push) Failing after 20s
Reviewed-on: #10
2026-06-12 13:53:07 -04:00
cloudix_mcp_server ab055b86bc fix: use JSON notation for ENTRYPOINT (DL3025)
Docker Build and Push / lint (pull_request) Successful in 8s
Docker Build and Push / build (pull_request) Successful in 28s
Docker Build and Push / test (pull_request) Successful in 14s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-12 13:48:56 -04:00
cloudix_mcp_server cb44f625da ci: add automatic semver tagging on merge to master
Docker Build and Push / lint (pull_request) Failing after 4s
Docker Build and Push / build (pull_request) Has been skipped
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
2026-06-12 13:17:06 -04:00
6 changed files with 169 additions and 66 deletions
+52
View File
@@ -0,0 +1,52 @@
name: Nightly Rebuild
on:
schedule:
- cron: '0 0 * * *'
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} .
build-push:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
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 }}
- id: get-latest-tag
run: |
TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
echo "tag=$TAG" >> $GITHUB_OUTPUT
- id: meta
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6
with:
images: jcabillot/docker-dynhost
tags: |
type=raw,value=${{ steps.get-latest-tag.outputs.tag }}-latest,enable=${{ steps.get-latest-tag.outputs.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
-65
View File
@@ -1,65 +0,0 @@
name: Docker Build and Push
on:
push:
branches: [master, main]
pull_request:
schedule:
- cron: '30 3 * * 3'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
failure-threshold: error
build:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Build image
run: docker build -t ci-image:${{ github.sha }} .
- name: Save image
run: docker save ci-image:${{ github.sha }} -o image.tar
- uses: ChristopherHX/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2 # main
with:
name: docker-image
path: image.tar
test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main
with:
name: docker-image
- name: Load image
run: docker load < image.tar
- name: Run tests
run: bash tests/test.sh ci-image:${{ github.sha }}
push:
runs-on: ubuntu-latest
needs: test
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main
with:
name: docker-image
- name: Load image
run: docker load < image.tar
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Tag and push
run: |
docker tag ci-image:${{ github.sha }} jcabillot/docker-dynhost:latest
docker push jcabillot/docker-dynhost:latest
+48
View File
@@ -0,0 +1,48 @@
name: Main Release
on:
push:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- 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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t jcabillot/docker-dynhost:${{ github.sha }} .
tag:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
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/docker-dynhost.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
+21
View File
@@ -0,0 +1,21 @@
name: PR Checks
on:
pull_request:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} .
+47
View File
@@ -0,0 +1,47 @@
name: Tag Release
on:
push:
tags: ['*']
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} .
build-push:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- 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/docker-dynhost
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
+1 -1
View File
@@ -5,4 +5,4 @@ RUN apk add --no-cache bind-tools curl
COPY entrypoint.sh / COPY entrypoint.sh /
ENTRYPOINT /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]