31 Commits

Author SHA1 Message Date
jcabillot 22399fee92 Merge pull request 'CI: standardize workflows' (#18) from fix/workflow-standard into main
Main Release / hadolint (push) Successful in 6s
Main Release / test (push) Successful in 25s
Main Release / build (push) Successful in 26s
Main Release / tag (push) Successful in 12s
Tag Release / hadolint (push) Successful in 7s
Tag Release / test (push) Successful in 12s
Tag Release / build-push (push) Successful in 47s
Reviewed-on: #18
2026-06-13 22:48:59 -04:00
cloudix_mcp_server 5c03e5011f fix: rewrite pr.yaml with raw YAML (was base64)
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Successful in 27s
2026-06-13 22:19:12 -04:00
cloudix_mcp_server 95709c689e fix: rewrite tag.yaml with raw YAML (was base64) 2026-06-13 22:19:07 -04:00
cloudix_mcp_server 42e45559ae fix: rewrite cron.yaml with raw YAML (was base64) 2026-06-13 22:19:01 -04:00
cloudix_mcp_server 53b918de62 fix: rewrite main.yaml with raw YAML (was base64) 2026-06-13 22:18:57 -04:00
cloudix_mcp_server 7d394b10f3 feat(ci): add nightly rebuild workflow with cron schedule 2026-06-13 21:25:38 -04:00
cloudix_mcp_server bdf7cfd119 feat(ci): add tag release workflow with hadolint and build-push 2026-06-13 21:25:31 -04:00
cloudix_mcp_server 4ed702927c feat(ci): add main release workflow with build, push, and auto-tag 2026-06-13 21:25:27 -04:00
cloudix_mcp_server f455f5c247 feat(ci): add PR workflow with hadolint and build 2026-06-13 21:25:24 -04:00
cloudix_mcp_server 5e74f5d845 chore: remove old docker-build.yaml for 4-workflow split 2026-06-13 21:24:36 -04:00
jcabillot dce2a44927 Merge pull request 'Update docker/setup-qemu-action action to v4' (#17) from renovate/docker-setup-qemu-action-4.x into main
Docker Build and Push / build (push) Successful in 1m7s
Reviewed-on: #17
2026-06-13 15:44:06 -04:00
renovate 2742480071 Update docker/setup-qemu-action action to v4
Docker Build and Push / build (pull_request) Successful in 49s
2026-06-13 03:00:52 +00:00
jcabillot 4611b787f7 Merge pull request 'Update docker/metadata-action action to v6' (#15) from renovate/docker-metadata-action-6.x into main
Docker Build and Push / build (push) Successful in 1m5s
Reviewed-on: #15
2026-06-12 22:26:46 -04:00
jcabillot 8e92fb41b2 Merge pull request 'Update docker/setup-buildx-action action to v4' (#16) from renovate/docker-setup-buildx-action-4.x into main
Docker Build and Push / build (push) Successful in 55s
Reviewed-on: #16
2026-06-12 22:26:27 -04:00
renovate 4722952299 Update docker/setup-buildx-action action to v4
Docker Build and Push / build (pull_request) Successful in 40s
2026-06-13 02:03:47 +00:00
renovate 04318c041a Update docker/metadata-action action to v6
Docker Build and Push / build (pull_request) Successful in 39s
2026-06-13 02:03:41 +00:00
jcabillot 9d7d6ab1e4 Merge pull request 'Pin dependencies' (#11) from renovate/pin-dependencies into main
Docker Build and Push / build (push) Successful in 52s
Reviewed-on: #11
2026-06-12 21:20:55 -04:00
renovate f504ae7000 Pin dependencies
Docker Build and Push / build (pull_request) Successful in 37s
2026-06-13 01:18:48 +00:00
jcabillot cf5876722b Merge pull request 'Update docker/build-push-action action to v7' (#13) from renovate/docker-build-push-action-7.x into main
Docker Build and Push / build (push) Successful in 51s
Reviewed-on: #13
2026-06-12 21:09:25 -04:00
jcabillot 4ba6096216 Merge pull request 'Update docker/login-action action to v4' (#14) from renovate/docker-login-action-4.x into main
Docker Build and Push / build (push) Successful in 53s
Reviewed-on: #14
2026-06-12 21:08:10 -04:00
renovate d9acc91ae0 Update docker/login-action action to v4
Docker Build and Push / build (pull_request) Successful in 44s
2026-06-13 01:06:41 +00:00
renovate ac993221ba Update docker/build-push-action action to v7
Docker Build and Push / build (pull_request) Successful in 44s
2026-06-13 01:06:36 +00:00
jcabillot d4efe98efd Merge pull request 'Update actions/checkout action to v6' (#12) from renovate/actions-checkout-6.x into main
Docker Build and Push / build (push) Successful in 56s
Reviewed-on: #12
2026-06-12 20:53:58 -04:00
renovate d54e7147ff Update actions/checkout action to v6
Docker Build and Push / build (pull_request) Successful in 3m50s
2026-06-13 00:29:04 +00:00
jcabillot 95b1752a11 Merge pull request 'CI: Migrate from Jenkins to Gitea Actions with refactored pipeline' (#10) from fix/refactor-ci-pipelines into main
Docker Build and Push / build (push) Successful in 4m31s
Reviewed-on: #10
2026-06-12 20:20:32 -04:00
cloudix_mcp_server efee1cee5c chore: remove legacy Jenkinsfile after migration to Gitea Actions
Docker Build and Push / build (pull_request) Successful in 3m47s
The CI pipeline has been fully migrated from Jenkins to Gitea Actions.
The Jenkinsfile is no longer needed.
2026-06-12 19:56:08 -04:00
cloudix_mcp_server f4f5a42a39 refactor: migrate CI pipeline to use semantic version tags for actions
- Replace pinned SHA action versions with maintainable semantic version tags
- Add QEMU setup for multi-arch builds
- Simplify conditionals and improve readability
- Clean up tag strategy with metadata action
2026-06-12 19:56:06 -04:00
jcabillot aa59a002f7 Merge pull request 'Update dependency python-telegram-bot to v22.8' (#9) from renovate/python-telegram-bot-22.x into main
Docker Build and Push / build (push) Successful in 52s
Reviewed-on: #9
2026-06-12 07:32:58 -04:00
renovate def5bb68cd Update dependency python-telegram-bot to v22.8
Docker Build and Push / build (pull_request) Successful in 34s
2026-06-12 08:30:49 +00:00
jcabillot 32e79f5d9e Merge pull request 'Pin dependencies' (#8) from renovate/pin-dependencies into main
Docker Build and Push / build (push) Successful in 49s
Reviewed-on: #8
2026-06-09 13:29:31 -04:00
renovate b019ee27f8 Pin dependencies
Docker Build and Push / build (pull_request) Successful in 38s
2026-06-09 16:13:50 +00:00
7 changed files with 154 additions and 85 deletions
+48
View File
@@ -0,0 +1,48 @@
name: Nightly Rebuild
on:
schedule:
- cron: '0 0 * * *'
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
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-dispatch
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
-46
View File
@@ -1,46 +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@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/opencode-dispatch
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@v7
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
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: [main]
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
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-dispatch:${{ 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-dispatch.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
+19
View File
@@ -0,0 +1,19 @@
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
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 }} .
+43
View File
@@ -0,0 +1,43 @@
name: Tag Release
on:
push:
tags: ['*']
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
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-dispatch
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
Vendored
-38
View File
@@ -1,38 +0,0 @@
pipeline {
environment {
registry = 'https://registry.hub.docker.com'
registryCredential = 'dockerhub_jcabillot'
dockerImage = 'jcabillot/opencode-dispatch'
}
agent any
triggers {
cron('@midnight')
}
stages {
stage('Clone repository') {
steps{
checkout scm
}
}
stage('Build image') {
steps{
sh 'docker build --force-rm=true --no-cache=true --pull -t ${dockerImage} .'
}
}
stage('Deploy Image') {
steps{
script {
withCredentials([usernamePassword(credentialsId: 'dockerhub_jcabillot', usernameVariable: 'DOCKER_USER', passwordVariable: 'DOCKER_PASS')]) {
sh 'docker login --username ${DOCKER_USER} --password ${DOCKER_PASS}'
sh 'docker push ${dockerImage}'
}
}
}
}
}
}
+1 -1
View File
@@ -1,3 +1,3 @@
python-telegram-bot==22.7
python-telegram-bot==22.8
requests==2.34.2
python-dotenv==1.2.2