29 Commits

Author SHA1 Message Date
jcabillot 281e9236be Merge pull request 'CI: standardize workflows' (#15) from fix/workflow-standard into main
Main Release / hadolint (push) Successful in 9s
Main Release / test (push) Successful in 17s
Main Release / build (push) Successful in 15s
Main Release / tag (push) Successful in 12s
Tag Release / hadolint (push) Successful in 9s
Tag Release / test (push) Successful in 21s
Tag Release / build-push (push) Successful in 5m3s
Reviewed-on: #15
2026-06-13 22:16:10 -04:00
cloudix_mcp_server f6e0bea6c1 fix: remove test.sh step from pr.yaml (no tests/test.sh in repo)
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Successful in 13s
2026-06-13 20:25:42 -04:00
cloudix_mcp_server fae9b53009 fix: remove test.sh step from tag.yaml (no tests/test.sh in repo)
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Failing after 13s
2026-06-13 20:25:37 -04:00
cloudix_mcp_server 28149e6b0a fix: remove test.sh step from cron.yaml (no tests/test.sh in repo)
PR Checks / hadolint (pull_request) Successful in 5s
PR Checks / build-test (pull_request) Failing after 13s
2026-06-13 20:25:34 -04:00
cloudix_mcp_server 1a61961971 fix: remove test.sh step (not present in repo), correct structure
PR Checks / hadolint (pull_request) Successful in 6s
PR Checks / build-test (pull_request) Failing after 14s
2026-06-13 20:23:09 -04:00
cloudix_mcp_server e7c1b553ed fix: correct build-push-action SHA in tag.yaml
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Failing after 17s
2026-06-13 19:05:17 -04:00
cloudix_mcp_server 3600839a03 fix: correct all action SHAs in pr.yaml
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Failing after 3m48s
2026-06-13 19:05:15 -04:00
cloudix_mcp_server 7dae5b1e9b fix: correct all action SHAs in main.yaml
PR Checks / build-test (pull_request) Failing after 3m52s
PR Checks / hadolint (pull_request) Successful in 6s
2026-06-13 19:05:12 -04:00
cloudix_mcp_server 562610135c fix: correct build-push-action SHA in cron.yaml 2026-06-13 19:05:08 -04:00
Sagent 1a4c17a26c CI: standardize workflows
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Failing after 3m19s
2026-06-13 21:36:05 +00:00
jcabillot 45d3469376 Merge pull request 'fix(ci): use Gitea expression syntax for git auth token' (#14) from fix/tag-job-git-auth-v2 into main
Main Release / hadolint (push) Successful in 6s
Main Release / tag (push) Successful in 10s
Main Release / build-push (push) Successful in 3m54s
Reviewed-on: #14
2026-06-12 14:54:38 -04:00
cloudix_mcp_server ef0c472e28 fix(ci): use secrets.GITHUB_TOKEN in git auth step, not shell var
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build (pull_request) Successful in 3m24s
2026-06-12 14:52:49 -04:00
jcabillot 0a620720b6 Merge pull request 'fix(ci): configure git auth for tag push in main workflow' (#13) from fix/tag-job-git-auth into main
Main Release / hadolint (push) Successful in 6s
Main Release / tag (push) Failing after 8s
Main Release / build-push (push) Successful in 4m21s
Reviewed-on: #13
2026-06-12 14:51:23 -04:00
cloudix_mcp_server 0a8ca9b751 fix(ci): configure git auth before tag push in main workflow
PR Checks / hadolint (pull_request) Successful in 6s
PR Checks / build (pull_request) Successful in 2m43s
2026-06-12 14:48:10 -04:00
jcabillot 7778ba4315 Merge pull request 'feat(ci): refactor pipelines — Hadolint, PR checks, tag releases, nightly rebuild' (#12) from fix/refactor-ci-pipelines into main
Main Release / hadolint (push) Successful in 8s
Main Release / tag (push) Failing after 9s
Main Release / build-push (push) Successful in 3m44s
Reviewed-on: #12
2026-06-12 14:37:23 -04:00
cloudix_mcp_server 850d6ed58c refactor(ci): decouple semver tagging from build on main push
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build (pull_request) Successful in 3m23s
2026-06-12 14:32:52 -04:00
cloudix_mcp_server 88ab5fa893 refactor(ci): run Hadolint and build in parallel on cron
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build (pull_request) Successful in 4m17s
2026-06-12 14:31:25 -04:00
cloudix_mcp_server fa685fd63e refactor(ci): run Hadolint and build in parallel on tag push 2026-06-12 14:31:17 -04:00
cloudix_mcp_server e1fab4f11f refactor(ci): run Hadolint and build in parallel on main push
PR Checks / build (pull_request) Successful in 4m0s
PR Checks / hadolint (pull_request) Failing after 13m32s
2026-06-12 14:31:10 -04:00
cloudix_mcp_server 0526268333 refactor(ci): run Hadolint and build in parallel on PR
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build (pull_request) Successful in 2m46s
2026-06-12 14:28:29 -04:00
cloudix_mcp_server 8682d4587a fix(ci): correct hadolint SHA (d2da2 → dda2)
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build (pull_request) Successful in 4m28s
2026-06-12 14:20:52 -04:00
cloudix_mcp_server 293cb50d4a fix(ci): correct hadolint SHA (d2da2 → dda2)
PR Checks / hadolint (pull_request) Successful in 5s
PR Checks / build (pull_request) Successful in 4m33s
2026-06-12 14:20:48 -04:00
cloudix_mcp_server caa18faff0 fix(ci): correct hadolint SHA (d2da2 → dda2)
PR Checks / build (pull_request) Successful in 4m40s
PR Checks / hadolint (pull_request) Successful in 5s
2026-06-12 14:20:38 -04:00
cloudix_mcp_server 1c50016d80 fix(ci): correct hadolint SHA (d2da2 → dda2) 2026-06-12 14:20:35 -04:00
cloudix_mcp_server e21758978a chore(ci): remove monolithic docker-build.yaml, replaced by pr/main/tag/cron
PR Checks / hadolint (pull_request) Failing after 3s
PR Checks / build (pull_request) Has been skipped
2026-06-12 14:18:58 -04:00
cloudix_mcp_server a261bdc030 feat(ci): add nightly rebuild of latest + most recent tag 2026-06-12 14:18:50 -04:00
cloudix_mcp_server b6a9577eee feat(ci): add tag release workflow with Hadolint + push :tag 2026-06-12 14:18:47 -04:00
cloudix_mcp_server 993c749a89 feat(ci): add main release workflow with Hadolint + push latest + auto-tag 2026-06-12 14:18:45 -04:00
cloudix_mcp_server 29ddd3f23b feat(ci): add PR workflow with Hadolint + build 2026-06-12 14:18:43 -04:00
5 changed files with 163 additions and 58 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@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-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 }}
- 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/opencode
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
-58
View File
@@ -1,58 +0,0 @@
name: Docker Build and Push
on:
pull_request:
branches: [main]
push:
branches: [main]
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker metadata
id: meta
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6
with:
images: jcabillot/opencode
tags: |
#type=ref,event=branch
#type=ref,event=pr
#type=sha
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
- name: Build and push
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
- name: Bump version and push tag
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1.75.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch
RELEASE_BRANCHES: main
WITH_V: true
GIT_API_TAGGING: false
+43
View File
@@ -0,0 +1,43 @@
name: Main Release
on:
push:
branches: [main]
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/opencode:${{ 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/opencode.git"
- uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1.75.0
env:
GITHUB_TOKEN: ${{ secrets.SA_TOKEN_ACTION_PUSH_TAGS }}
DEFAULT_BUMP: patch
RELEASE_BRANCHES: main
WITH_V: true
GIT_API_TAGGING: false
+21
View File
@@ -0,0 +1,21 @@
name: PR Checks
on:
pull_request:
branches: [main]
jobs:
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
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 }} .
+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@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-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/opencode
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