36 Commits

Author SHA1 Message Date
jcabillot 529ce4bb9d Merge pull request 'chore(deps): update docker/metadata-action digest to dc80280' (#14) from renovate/docker-metadata-action-digest into master
Main Release / hadolint (push) Successful in 13s
Main Release / test (push) Successful in 20s
Main Release / build (push) Successful in 19s
Main Release / tag (push) Failing after 4s
Reviewed-on: #14
2026-07-02 09:28:15 -04:00
jcabillot 1b48915243 Merge pull request 'chore(deps): update docker/login-action digest to c99871d' (#13) from renovate/docker-login-action-digest into master
Main Release / hadolint (push) Successful in 11s
Main Release / test (push) Successful in 21s
Main Release / build (push) Successful in 20s
Main Release / tag (push) Failing after 3s
Reviewed-on: #13
2026-07-02 09:28:11 -04:00
renovate 06d940536c chore(deps): update docker/metadata-action digest to dc80280
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 10s
PR Checks / build-test (pull_request) Successful in 30s
2026-07-02 12:44:58 +00:00
renovate e9c4aee5fb chore(deps): update docker/login-action digest to c99871d
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 10s
PR Checks / build-test (pull_request) Successful in 40s
2026-07-02 12:44:49 +00:00
opencodecabilloteu 12026977bd chore(deps): update docker/setup-buildx-action digest to bb05f3f
Main Release / hadolint (push) Successful in 11s
Main Release / test (push) Successful in 38s
Main Release / build (push) Successful in 28s
Main Release / tag (push) Failing after 4s
chore(deps): update docker/setup-buildx-action digest to bb05f3f
2026-07-02 08:36:49 -04:00
renovate 052ef85801 chore(deps): update docker/setup-buildx-action digest to bb05f3f
PR Checks / hadolint (pull_request) Successful in 6s
PR Checks / build-test (pull_request) Successful in 16s
2026-07-02 09:56:03 +00:00
jcabillot b68f93af3b Merge pull request 'chore(deps): update docker/build-push-action action to v7.3.0' (#12) from renovate/docker-build-push-action-7.x into master
Main Release / hadolint (push) Successful in 8s
Main Release / test (push) Successful in 16s
Main Release / build (push) Successful in 30s
Main Release / tag (push) Failing after 3s
Reviewed-on: #12
2026-07-01 16:23:24 -04:00
renovate f3c88694ff chore(deps): update docker/build-push-action action to v7.3.0
PR Checks / hadolint (pull_request) Successful in 10s
PR Checks / build-test (pull_request) Successful in 17s
2026-07-01 14:52:59 +00:00
jcabillot 9221f89495 Merge pull request 'chore(deps): update actions/checkout action to v7' (#11) from renovate/actions-checkout-7.x into master
Main Release / hadolint (push) Successful in 8s
Main Release / test (push) Successful in 16s
Main Release / build (push) Successful in 13s
Main Release / tag (push) Failing after 4s
Reviewed-on: #11
2026-06-18 16:22:46 -04:00
renovate d7eff1f5e9 chore(deps): update actions/checkout action to v7
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Successful in 16s
2026-06-18 15:28:08 +00:00
jcabillot 511adab890 Merge pull request 'fix: convert workflows from artifact pattern to htpasswd 4-workflow standard' (#10) from fix/workflow-standard into master
Main Release / hadolint (push) Successful in 8s
Main Release / test (push) Successful in 12s
Main Release / build (push) Successful in 17s
Main Release / tag (push) Failing after 4s
Reviewed-on: #10
2026-06-13 18:01:01 -04:00
cloudix_mcp_server fe8235d32b fix pr.yaml - write raw content
PR Checks / hadolint (pull_request) Successful in 11s
PR Checks / build-test (pull_request) Successful in 17s
2026-06-13 17:50:49 -04:00
cloudix_mcp_server 5e1827bbc6 fix main.yaml - write raw content, fix WITH_V typo 2026-06-13 17:50:40 -04:00
cloudix_mcp_server 88afaa1a9e Convert pr.yaml to htpasswd pattern: build directly, no artifacts 2026-06-13 17:48:35 -04:00
cloudix_mcp_server 8b583cc276 Convert main.yaml to htpasswd pattern: build directly, no artifacts 2026-06-13 17:48:22 -04:00
jcabillot 7358031c06 Merge pull request 'feat(ci): refactor pipelines — hadolint, PR checks, tag releases, nightly rebuild' (#9) from fix/refactor-ci-pipelines into master
Main / lint (push) Successful in 6s
Main / build (push) Successful in 22s
Main / push (push) Failing after 18s
Main / test (push) Has been skipped
Reviewed-on: #9
2026-06-12 16:17:30 -04:00
cloudix_mcp_server d67e6972b1 feat(ci): remove old monolithic docker-build.yaml
PR Check / lint (pull_request) Successful in 7s
PR Check / build (pull_request) Successful in 19s
PR Check / test (pull_request) Successful in 10s
2026-06-12 16:08:27 -04:00
cloudix_mcp_server feddfee701 feat(ci): add cron.yaml — nightly rebuild with latest+sha tags 2026-06-12 16:08:22 -04:00
cloudix_mcp_server 285d778ceb feat(ci): add tag.yaml — hadolint + build-push on version tags 2026-06-12 16:08:19 -04:00
cloudix_mcp_server 4e4c866986 feat(ci): add main.yaml — hadolint + build-push + test + tag 2026-06-12 16:08:16 -04:00
cloudix_mcp_server d5fadd7705 feat(ci): add pr.yaml — hadolint with continue-on-error + build + test 2026-06-12 16:08:11 -04:00
jcabillot 7fc620df21 Merge pull request 'ci: add automatic semver tagging on merge to master' (#8) from feat/semver-tag-action into master
Docker Build and Push / lint (push) Successful in 8s
Docker Build and Push / build (push) Successful in 50s
Docker Build and Push / test (push) Successful in 13s
Docker Build and Push / push (push) Failing after 23s
Reviewed-on: #8
2026-06-12 13:53:08 -04:00
cloudix_mcp_server 3f18daeac9 fix: correct hadolint SHA (was broken with space)
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 13s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-12 13:49:03 -04:00
cloudix_mcp_server b18fb1387e ci: add automatic semver tagging on merge to master
Docker Build and Push / lint (pull_request) Failing after 3s
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:18:52 -04:00
jcabillot b31ab10ae0 Merge pull request 'chore(config): migrate Renovate config' (#7) from renovate/migrate-config into master
Docker Build and Push / lint (push) Successful in 8s
Docker Build and Push / build (push) Successful in 28s
Docker Build and Push / test (push) Successful in 9s
Docker Build and Push / push (push) Successful in 14s
Reviewed-on: #7
2026-06-11 08:40:56 -04:00
renovate 5f464623c6 chore(config): migrate config renovate.json
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Successful in 18s
Docker Build and Push / test (pull_request) Successful in 9s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-11 12:18:20 +00:00
jcabillot 9b278e5da5 Merge pull request 'chore: add renovate config with SHA-pinned action regex manager' (#4) from chore/renovate into master
Docker Build and Push / lint (push) Successful in 6s
Docker Build and Push / build (push) Successful in 13s
Docker Build and Push / test (push) Successful in 8s
Docker Build and Push / push (push) Successful in 19s
Reviewed-on: #4
2026-06-11 08:03:44 -04:00
jcabillot f09e4f147b Merge pull request 'chore(deps): update alpine docker tag to v3.24' (#6) from renovate/alpine-3.x into master
Docker Build and Push / lint (push) Successful in 7s
Docker Build and Push / build (push) Successful in 24s
Docker Build and Push / test (push) Successful in 9s
Docker Build and Push / push (push) Successful in 23s
Reviewed-on: #6
2026-06-11 07:22:50 -04:00
renovate 5a60c68c75 chore(deps): update alpine docker tag to v3.24
Docker Build and Push / lint (pull_request) Successful in 5s
Docker Build and Push / build (pull_request) Successful in 16s
Docker Build and Push / test (pull_request) Successful in 10s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-09 21:03:05 +00:00
cloudix_mcp_server 2c111c634d fix: add branches: [master] filter on push trigger
Docker Build and Push / lint (push) Failing after 11m26s
Docker Build and Push / build (push) Has been skipped
Docker Build and Push / test (push) Has been skipped
Docker Build and Push / push (push) Has been skipped
2026-06-09 10:48:42 -04:00
Sagent d46b6d6236 chore: add renovate config with SHA-pinned action regex manager, fix gitlabci image quotes
Docker Build and Push / lint (push) Successful in 5s
Docker Build and Push / build (push) Successful in 31s
Docker Build and Push / test (push) Successful in 14s
Docker Build and Push / push (push) Successful in 39s
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Successful in 19s
Docker Build and Push / test (pull_request) Successful in 8s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-09 02:12:45 +00:00
jcabillot 391091734b Merge pull request 'feat: migrate to 4-job CI pipeline v2' (#3) from feat/gitea-actions-v2 into master
Docker Build and Push / lint (push) Successful in 8s
Docker Build and Push / build (push) Successful in 25s
Docker Build and Push / test (push) Successful in 12s
Docker Build and Push / push (push) Successful in 33s
Reviewed-on: #3
2026-06-08 20:51:02 -04:00
cloudix_mcp_server 519d3a45ce feat: migrate to 4-job CI pipeline (lint+build+test+push)
Docker Build and Push / lint (push) Successful in 10s
Docker Build and Push / build (push) Successful in 19s
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / test (push) Successful in 12s
Docker Build and Push / build (pull_request) Successful in 27s
Docker Build and Push / push (push) Successful in 26s
Docker Build and Push / test (pull_request) Successful in 12s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-08 20:23:40 -04:00
cloudix_mcp_server 06817a263b feat: add test.sh for CI 2026-06-08 20:21:57 -04:00
cloudix_mcp_server 21a8bd98ab fix: hadolint DL3018, remove quoted strings 2026-06-08 20:21:37 -04:00
jcabillot 5b9e243008 feat: add Gitea Actions workflow
Docker Build and Push / build (push) Successful in 33s
feat: add Gitea Actions workflow
2026-05-29 16:22:15 -04:00
9 changed files with 191 additions and 57 deletions
+44
View File
@@ -0,0 +1,44 @@
name: Nightly Rebuild
on:
schedule:
- cron: '0 0 * * *'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Hadolint
uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
continue-on-error: true
build:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Login to Docker Hub
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6
with:
images: jcabillot/mysql-client
tags: |
type=raw,value=latest,enable=true
type=sha,format=long
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
- name: Build and push
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
-46
View File
@@ -1,46 +0,0 @@
name: Docker Build and Push
on:
pull_request:
branches: [master]
push:
branches: [master]
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker metadata
id: meta
uses: docker/metadata-action@v6
with:
images: jcabillot/mysql-client
tags: |
#type=ref,event=branch
#type=ref,event=pr
#type=sha
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
- name: Build and push
uses: docker/build-push-action@v7
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
+49
View File
@@ -0,0 +1,49 @@
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@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
build:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
- run: docker build -t jcabillot/mysql-client:${{ 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.GITHUB_TOKEN }}@scm.cabillot.eu/perso/mysql-client.git"
- uses: anothrNick/github-tag-action@4ed44965e0db2c5b5e8b8c7c7c8c9c9c9c9c9c9c9 # v1.75.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch
RELEASE_BRANCHES: master
WITH_V: true
GIT_API_TAGGING: false
+22
View File
@@ -0,0 +1,22 @@
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@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
+46
View File
@@ -0,0 +1,46 @@
name: Tag
on:
push:
tags:
- 'v*'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Hadolint
uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
continue-on-error: true
build:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Login to Docker Hub
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6
with:
images: jcabillot/mysql-client
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
- name: Build and push
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
+1 -1
View File
@@ -1,4 +1,4 @@
image: "docker:latest" image: docker:latest
services: services:
- "docker:dind" - "docker:dind"
+4 -9
View File
@@ -1,16 +1,11 @@
FROM "alpine:3.23" FROM alpine:3.24
LABEL maintainer="Cabillot Julien <dockerimages@cabillot.eu>" LABEL maintainer="Cabillot Julien <dockerimages@cabillot.eu>"
# hadolint ignore=DL3018
RUN apk add --no-cache mysql-client && \ RUN apk add --no-cache mysql-client && \
rm -rf "/usr/share/apk/keys" && \ rm -rf /usr/share/apk/keys && \
adduser -D muser adduser -D muser
# Add Tini USER muser
#ENV "TINI_VERSION" "v0.16.1"
#ADD "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" "/tini"
#RUN chmod +x "/tini"
#ENTRYPOINT ["/tini", "--"]
USER "muser"
ENTRYPOINT [ "/usr/bin/mysql" ] ENTRYPOINT [ "/usr/bin/mysql" ]
+16
View File
@@ -0,0 +1,16 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"gitlabci": {
"enabled": true
},
"customManagers": [
{
"customType": "regex",
"description": "Track SHA-pinned Gitea Actions (github-actions manager on Gitea platform cannot resolve SHA refs natively)",
"managerFilePatterns": ["/^\\.gitea/workflows/.*\\.ya?ml$/"],
"matchStrings": ["uses:\\s+(?<depName>[\\w.-]+\\/[\\w.-]+(?:\\/[\\w.-]+)?)@(?<currentDigest>[a-f0-9]{40})"],
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver"
}
]
}
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
set -euo pipefail
IMAGE="${1:-}"
if [ -z "$IMAGE" ]; then
echo "Usage: $0 <image>"
exit 1
fi
docker run --rm "$IMAGE" --version