17 Commits

Author SHA1 Message Date
renovate a07c48950e chore(deps): update docker/build-push-action action to v7.3.0
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Successful in 1m9s
2026-07-01 14:53:28 +00:00
jcabillot c88aa37dab Merge pull request 'chore(deps): update actions/checkout action to v7' (#8) from renovate/actions-checkout-7.x into main
Main Release / hadolint (push) Failing after 12s
Main Release / test (push) Successful in 3m15s
Main Release / build (push) Successful in 2m59s
Main Release / tag (push) Successful in 13s
Tag Release / hadolint (push) Failing after 8s
Tag Release / test (push) Successful in 23s
Tag Release / build-push (push) Successful in 5m9s
Reviewed-on: #8
2026-06-18 16:22:46 -04:00
renovate ba075f7b0a chore(deps): update actions/checkout action to v7
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Successful in 2m49s
2026-06-18 15:28:38 +00:00
jcabillot a77e31fd53 Merge pull request 'fix(workflow): standardize to 4-workflow pattern (pr/main/tag/cron)' (#7) from fix/workflow-standard into main
Main Release / hadolint (push) Failing after 8s
Main Release / test (push) Successful in 4m22s
Main Release / build (push) Successful in 4m43s
Main Release / tag (push) Successful in 11s
Tag Release / hadolint (push) Failing after 9s
Tag Release / test (push) Successful in 3m37s
Tag Release / build-push (push) Successful in 4m32s
Reviewed-on: #7
2026-06-13 22:14:58 -04:00
cloudix_mcp_server fa62ba3911 feat(workflow): add cron.yaml — nightly rebuild (test + build-push $TAG-latest)
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Successful in 3m43s
2026-06-13 21:17:19 -04:00
cloudix_mcp_server 032563cf7a feat(workflow): add tag.yaml — tag push (test + build-push to DockerHub) 2026-06-13 21:17:13 -04:00
cloudix_mcp_server a0a021dacd feat(workflow): add main.yaml — merge to main (test + build + git tag, no Docker push) 2026-06-13 21:17:05 -04:00
cloudix_mcp_server 0aa8b4011b feat(workflow): add pr.yaml — PR checks (hadolint + build-test) 2026-06-13 21:16:58 -04:00
cloudix_mcp_server 8b2fad603e chore: remove monolithic docker-build.yaml (replaced by 4-workflow pattern) 2026-06-13 21:16:33 -04:00
jcabillot 00b1ba7b8c Merge pull request 'ci: migrate from Jenkins to Gitea Actions' (#6) from fix/refactor-ci-pipelines into main
Docker Build and Push / build (push) Failing after 5m28s
Reviewed-on: #6
2026-06-12 20:18:30 -04:00
cloudix_mcp_server a3583967f1 ci: remove Jenkinsfile — migrated to Gitea Actions
Docker Build and Push / build (pull_request) Successful in 2m31s
2026-06-12 19:50:32 -04:00
jcabillot 1c36f422d6 Merge pull request 'ci: add automatic semver tagging on merge to main' (#5) from feat/semver-tag-action into main
Docker Build and Push / build (push) Failing after 4m35s
Reviewed-on: #5
2026-06-12 13:41:20 -04:00
cloudix_mcp_server 9f1047a5a6 ci: add automatic semver tagging on merge to main
Docker Build and Push / build (pull_request) Successful in 3m2s
2026-06-12 13:19:49 -04:00
jcabillot 1e8d9db843 Merge pull request 'chore(deps): pin dependencies' (#4) from renovate/pin-dependencies into main
Docker Build and Push / build (push) Successful in 4m43s
Reviewed-on: #4
2026-06-09 11:17:53 -04:00
renovate 6645766539 chore(deps): pin dependencies
Docker Build and Push / build (pull_request) Successful in 2m22s
2026-06-09 13:58:07 +00:00
Sagent fcdde47194 fix: clone HKUDS/nanobot source before build (like Jenkinsfile)
Docker Build and Push / build (push) Successful in 3m44s
2026-05-29 22:09:01 +00:00
jcabillot 5ee6bad8be feat: add Gitea Actions workflow
Docker Build and Push / build (push) Failing after 20s
feat: add Gitea Actions workflow
2026-05-29 16:22:52 -04:00
6 changed files with 190 additions and 86 deletions
+57
View File
@@ -0,0 +1,57 @@
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
with:
fetch-depth: 0
- run: git clone --depth 1 https://github.com/HKUDS/nanobot.git external-nanobot
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} -f external-nanobot/Dockerfile external-nanobot
build-push:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
fetch-depth: 0
- run: git clone --depth 1 https://github.com/HKUDS/nanobot.git external-nanobot
- 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/nanobot
tags: |
type=raw,value=${{ steps.get-latest-tag.outputs.tag }}-latest,enable=${{ steps.get-latest-tag.outputs.tag != '' }}
- uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: external-nanobot
file: external-nanobot/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
-47
View File
@@ -1,47 +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/nanobot
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: nanobot
file: nanobot/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
+54
View File
@@ -0,0 +1,54 @@
name: Main Release
on:
push:
branches: [main]
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
with:
fetch-depth: 0
- run: git clone --depth 1 https://github.com/HKUDS/nanobot.git external-nanobot
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} -f external-nanobot/Dockerfile external-nanobot
build:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
fetch-depth: 0
- run: git clone --depth 1 https://github.com/HKUDS/nanobot.git external-nanobot
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t jcabillot/nanobot:${{ github.sha }} -f external-nanobot/Dockerfile external-nanobot
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/nanobot.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
+25
View File
@@ -0,0 +1,25 @@
name: PR Checks
on:
pull_request:
branches: [main]
jobs:
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- 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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
fetch-depth: 0
- run: git clone --depth 1 https://github.com/HKUDS/nanobot.git external-nanobot
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} -f external-nanobot/Dockerfile external-nanobot
+54
View File
@@ -0,0 +1,54 @@
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
with:
fetch-depth: 0
- run: git clone --depth 1 https://github.com/HKUDS/nanobot.git external-nanobot
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} -f external-nanobot/Dockerfile external-nanobot
build-push:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
fetch-depth: 0
- run: git clone --depth 1 https://github.com/HKUDS/nanobot.git external-nanobot
- 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/nanobot
tags: |
type=ref,event=tag
type=ref,event=tag,suffix=-latest
- uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: external-nanobot
file: external-nanobot/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
Vendored
-39
View File
@@ -1,39 +0,0 @@
pipeline {
environment {
registry = 'https://registry.hub.docker.com'
registryCredential = 'dockerhub_jcabillot'
dockerImage = 'jcabillot/nanobot'
}
agent any
triggers {
cron('@midnight')
}
stages {
stage('Clone repository') {
steps{
checkout scm
}
}
stage('Build image') {
steps{
sh 'git clone "https://github.com/HKUDS/nanobot.git"'
sh 'docker build --force-rm=true --no-cache=true --pull -t ${dockerImage} -f nanobot/Dockerfile nanobot/'
}
}
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}'
}
}
}
}
}
}