Compare commits

...
69 Commits
Author SHA1 Message Date
jcabillot 619850928b Merge pull request 'ci(tag): déclenche Renovate sur tf-depl-kubernetes dès que l'image de release est poussée (opencode-dispatch)' (#37) from ci/renovate-dispatch-on-release into main
Main Release / hadolint (push) Successful in 2m2s
Main Release / test (push) Successful in 52s
Renovate / renovate (push) Successful in 54s
Main Release / build (push) Successful in 32s
Main Release / tag (push) Successful in 26s
Tag Release / hadolint (push) Successful in 5m1s
Tag Release / build-push (push) Successful in 3m20s
Tag Release / trigger-renovate (push) Failing after 12s
PR Checks / hadolint (pull_request) Successful in 12s
PR Checks / build-test (pull_request) Successful in 48s
Tag Release / test (push) Successful in 4m23s
Reviewed-on: #37
2026-10-18 13:43:14 -04:00
opencodecabilloteu 95c54cb0b4 ci(tag): dispatch Renovate on tf-depl-kubernetes once the release image is pushed
PR Checks / hadolint (pull_request) Successful in 9s
PR Checks / build-test (pull_request) Successful in 48s
A release only reached perso_private/tf-depl-kubernetes on the next hourly
Renovate scan, so the image bump PR could lag up to an hour behind the tag.

After the image push completes, dispatch that repo's Renovate workflow through
the Gitea API (workflow_dispatch is already enabled there). It authenticates
with the RENOVATE_TOKEN org secret of this organisation — the same token the
Renovate instance itself uses, no extra credential. The job fails loudly so a
rotated token shows up instead of the trigger silently going missing.
2026-10-18 13:21:52 -04:00
jcabillot 3e86bb278d Merge pull request 'chore(deps): update python docker tag to v3.15' (#36) from renovate/python-3.x into main
Main Release / hadolint (push) Successful in 6s
Main Release / test (push) Successful in 21s
Renovate / renovate (push) Successful in 42s
Main Release / build (push) Successful in 13s
Main Release / tag (push) Successful in 35s
Tag Release / hadolint (push) Successful in 20s
Tag Release / build-push (push) Successful in 1m14s
Tag Release / test (push) Successful in 42s
Reviewed-on: #36
2026-10-16 16:09:20 -04:00
renovate 51ea99f4d8 chore(deps): update python docker tag to v3.15
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 25s
2026-10-16 15:17:43 +00:00
opencodecabilloteu 882d7165b8 Merge pull request 'chore(deps): update dependency python-dotenv to v1.2.4' (#35) from renovate/python-dotenv-1.x into main
Renovate / renovate (push) Successful in 1m58s
Main Release / test (push) Failing after 14m48s
Main Release / hadolint (push) Failing after 14m56s
Main Release / build (push) Skipped
Main Release / tag (push) Skipped
2026-10-04 13:00:12 -04:00
renovate f78d212dee chore(deps): update dependency python-dotenv to v1.2.4
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 19s
PR Checks / build-test (pull_request) Successful in 1m2s
2026-10-03 06:17:23 +00:00
opencodecabilloteu bd8992f61b Merge pull request 'chore(deps): update docker/setup-buildx-action digest to f87e599' (#34) from renovate/docker-setup-buildx-action-digest into main
Main Release / hadolint (push) Successful in 8s
Main Release / test (push) Successful in 21s
Renovate / renovate (push) Successful in 43s
Main Release / build (push) Successful in 20s
Main Release / tag (push) Successful in 15s
Tag Release / hadolint (push) Successful in 9s
Tag Release / build-push (push) Successful in 52s
Tag Release / test (push) Successful in 18s
2026-09-18 04:31:44 -04:00
renovate 5b1d078782 chore(deps): update docker/setup-buildx-action digest to f87e599
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 21s
2026-09-18 08:15:05 +00:00
opencodecabilloteu 6581af11a5 Merge pull request 'chore(deps): update docker/build-push-action action to v7.4.0' (#33) from renovate/docker-build-push-action-7.x into main
Main Release / hadolint (push) Successful in 9s
Main Release / test (push) Successful in 41s
Renovate / renovate (push) Successful in 2m8s
Main Release / build (push) Successful in 22s
Main Release / tag (push) Successful in 10s
Tag Release / hadolint (push) Successful in 9s
Tag Release / build-push (push) Successful in 1m4s
Tag Release / test (push) Successful in 35s
2026-09-17 05:31:55 -04:00
renovate d8617e4a09 chore(deps): update docker/build-push-action action to v7.4.0
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 12s
PR Checks / build-test (pull_request) Successful in 42s
2026-09-17 09:17:13 +00:00
opencodecabilloteu 438400b198 Merge pull request 'chore(deps): update hadolint/hadolint-action action to v3.5.0' (#32) from renovate/hadolint-hadolint-action-3.x into main
Main Release / hadolint (push) Successful in 25s
Main Release / test (push) Successful in 51s
Renovate / renovate (push) Successful in 47s
Main Release / build (push) Successful in 1m1s
Main Release / tag (push) Successful in 25s
Tag Release / hadolint (push) Successful in 16s
Tag Release / build-push (push) Successful in 2m0s
Tag Release / test (push) Successful in 31s
2026-08-26 10:32:27 -04:00
renovate c0e91e8927 chore(deps): update hadolint/hadolint-action action to v3.5.0
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 19s
PR Checks / build-test (pull_request) Successful in 1m9s
2026-08-26 14:14:13 +00:00
opencodecabilloteu e4fca0b582 Merge pull request 'chore(deps): update dependency python-dotenv to v1.2.3' (#30) from renovate/python-dotenv-1.x into main
Main Release / hadolint (push) Successful in 20s
Main Release / test (push) Successful in 56s
Renovate / renovate (push) Successful in 52s
Main Release / build (push) Successful in 1m6s
Main Release / tag (push) Successful in 28s
Tag Release / hadolint (push) Successful in 22s
Tag Release / build-push (push) Successful in 2m19s
Tag Release / test (push) Successful in 54s
2026-08-22 14:08:09 -04:00
renovate 37d35279ba chore(deps): update dependency python-dotenv to v1.2.3
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 17s
PR Checks / build-test (pull_request) Successful in 32s
2026-08-21 11:17:59 +00:00
opencodecabilloteu 42e0605634 Merge pull request 'chore(deps): update docker/setup-buildx-action digest to 37fe631' (#31) from renovate/docker-setup-buildx-action-digest into main
Main Release / hadolint (push) Successful in 17s
Main Release / test (push) Successful in 40s
Renovate / renovate (push) Failing after 12m45s
Main Release / build (push) Successful in 32s
Main Release / tag (push) Successful in 23s
Tag Release / hadolint (push) Successful in 18s
Tag Release / build-push (push) Successful in 1m40s
Tag Release / test (push) Successful in 37s
2026-08-21 06:34:29 -04:00
renovate c898c02229 chore(deps): update docker/setup-buildx-action digest to 37fe631
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 19s
PR Checks / build-test (pull_request) Successful in 41s
2026-08-21 10:26:30 +00:00
jcabillot bb30c64714 Merge pull request 'ci: add Renovate workflow' (#29) from add-renovate-workflow into main
Main Release / test (push) Successful in 1m27s
Main Release / hadolint (push) Successful in 25s
Renovate / renovate (push) Successful in 4m10s
Main Release / build (push) Successful in 1m38s
Main Release / tag (push) Successful in 37s
Tag Release / hadolint (push) Successful in 33s
Tag Release / build-push (push) Successful in 3m54s
Tag Release / test (push) Successful in 1m26s
Reviewed-on: #29
2026-08-03 16:18:57 -04:00
OpenCode Cabillot ed77950afb ci: add Renovate workflow
PR Checks / hadolint (pull_request) Successful in 9s
PR Checks / build-test (pull_request) Successful in 35s
2026-08-02 23:47:24 +00:00
opencodecabilloteu 117d02e69c Merge pull request 'chore(deps): update hadolint/hadolint-action action to v3.4.0' (#28) from renovate/hadolint-hadolint-action-3.x into main
Main Release / test (push) Successful in 1m10s
Main Release / hadolint (push) Successful in 23s
Main Release / build (push) Successful in 1m20s
Main Release / tag (push) Successful in 35s
Tag Release / hadolint (push) Successful in 21s
Tag Release / build-push (push) Successful in 3m21s
Tag Release / test (push) Successful in 1m12s
2026-08-01 16:07:16 -04:00
renovate 29a3c03e3e chore(deps): update hadolint/hadolint-action action to v3.4.0
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 11s
PR Checks / build-test (pull_request) Successful in 51s
2026-08-01 14:15:29 +00:00
jcabillot e486bab0d0 Merge pull request 'chore(deps): update docker/login-action digest to dbcb813' (#27) from renovate/docker-login-action-digest into main
Main Release / hadolint (push) Successful in 14s
Main Release / test (push) Successful in 1m20s
Main Release / build (push) Successful in 1m11s
Main Release / tag (push) Successful in 16s
Tag Release / hadolint (push) Successful in 15s
Tag Release / build-push (push) Successful in 8m17s
Tag Release / test (push) Successful in 20s
Reviewed-on: #27
2026-07-29 11:47:50 -04:00
renovate eb771f2a10 chore(deps): update docker/login-action digest to dbcb813
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 15s
PR Checks / build-test (pull_request) Successful in 1m2s
2026-07-29 13:12:18 +00:00
jcabillot e8d699397b Merge pull request 'chore(deps): update docker/login-action digest to 371161b' (#26) from renovate/docker-login-action-digest into main
Main Release / hadolint (push) Successful in 18s
Main Release / test (push) Successful in 1m5s
Main Release / build (push) Successful in 35s
Main Release / tag (push) Successful in 10s
Tag Release / hadolint (push) Successful in 9s
Tag Release / build-push (push) In progress
Tag Release / test (push) Successful in 42s
Reviewed-on: #26
2026-07-28 16:51:26 -04:00
renovate ccecffc287 chore(deps): update docker/login-action digest to 371161b
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 11s
PR Checks / build-test (pull_request) Successful in 1m31s
2026-07-28 08:11:54 +00:00
jcabillot b8cf4836db Merge pull request 'chore(deps): update actions/checkout digest to 3d3c42e' (#25) from renovate/actions-checkout-digest into main
Main Release / test (push) Successful in 30s
Main Release / hadolint (push) Successful in 11s
Main Release / build (push) Successful in 13s
Main Release / tag (push) Successful in 2h1m17s
Reviewed-on: #25
2026-07-22 08:05:16 -04:00
renovate 82d15c9b5e chore(deps): update actions/checkout digest to 3d3c42e
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Successful in 31s
2026-07-20 16:12:34 +00:00
jcabillot 8b5adb84ca Merge pull request 'chore(deps): update docker/login-action digest to af1e73f' (#24) from renovate/docker-login-action-digest into main
Main Release / test (push) Successful in 26s
Main Release / build (push) Successful in 34s
Main Release / tag (push) Successful in 14s
Tag Release / test (push) Successful in 20s
Tag Release / build-push (push) Successful in 1m14s
Main Release / hadolint (push) Successful in 11s
Tag Release / hadolint (push) Successful in 19s
Reviewed-on: #24
2026-07-03 16:20:20 -04:00
renovate 65c4b16de8 chore(deps): update docker/login-action digest to af1e73f
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 13s
PR Checks / build-test (pull_request) Successful in 30s
2026-07-03 14:21:35 +00:00
jcabillot 7c5eb983db Merge pull request 'chore(deps): update docker/metadata-action digest to dc80280' (#22) from renovate/docker-metadata-action-digest into main
Main Release / test (push) Successful in 29s
Main Release / build (push) Successful in 42s
Main Release / tag (push) Successful in 13s
Tag Release / hadolint (push) Successful in 12s
Tag Release / test (push) Successful in 18s
Tag Release / build-push (push) Successful in 1m39s
Main Release / hadolint (push) Successful in 8s
Reviewed-on: #22
2026-07-02 09:40:36 -04:00
renovate 2a5679db65 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 7s
PR Checks / build-test (pull_request) Successful in 15s
2026-07-02 13:38:15 +00:00
jcabillot 918426ba14 Merge pull request 'chore(deps): update docker/login-action digest to c99871d' (#21) from renovate/docker-login-action-digest into main
Main Release / test (push) Successful in 17s
Main Release / build (push) Successful in 44s
Main Release / tag (push) Successful in 13s
Tag Release / test (push) Successful in 20s
Tag Release / build-push (push) Successful in 1m13s
Main Release / hadolint (push) Successful in 14s
Tag Release / hadolint (push) Successful in 10s
Reviewed-on: #21
2026-07-02 09:30:51 -04:00
renovate cc91bb76aa 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 8s
PR Checks / build-test (pull_request) Successful in 35s
2026-07-02 12:47:51 +00:00
opencodecabilloteu 14b835d9da chore(deps): update docker/setup-buildx-action digest to bb05f3f
Main Release / test (push) Successful in 34s
Main Release / build (push) Successful in 25s
Main Release / tag (push) Successful in 12s
Tag Release / hadolint (push) Successful in 10s
Tag Release / test (push) Successful in 22s
Tag Release / build-push (push) Successful in 1m40s
Main Release / hadolint (push) Successful in 10s
chore(deps): update docker/setup-buildx-action digest to bb05f3f
2026-07-02 08:37:17 -04:00
renovate 043bda8055 chore(deps): update docker/setup-buildx-action digest to bb05f3f
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Successful in 12s
2026-07-02 09:58:42 +00:00
jcabillot 10b08e3c06 Merge pull request 'chore(deps): update docker/build-push-action action to v7.3.0' (#20) from renovate/docker-build-push-action-7.x into main
Main Release / test (push) Successful in 24s
Main Release / build (push) Successful in 17s
Main Release / tag (push) Successful in 14s
Tag Release / hadolint (push) Successful in 9s
Tag Release / test (push) Successful in 15s
Tag Release / build-push (push) Successful in 1m10s
Main Release / hadolint (push) Successful in 7s
Reviewed-on: #20
2026-07-01 16:23:12 -04:00
renovate 510fe08045 chore(deps): update docker/build-push-action action to v7.3.0
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Successful in 25s
2026-07-01 14:55:21 +00:00
jcabillot 4af3413cef Merge pull request 'chore(deps): update actions/checkout action to v7' (#19) from renovate/actions-checkout-7.x into main
Main Release / test (push) Successful in 15s
Main Release / build (push) Successful in 14s
Main Release / tag (push) Successful in 16s
Tag Release / hadolint (push) Successful in 11s
Tag Release / test (push) Successful in 17s
Tag Release / build-push (push) Successful in 1m2s
Main Release / hadolint (push) Successful in 10s
Reviewed-on: #19
2026-06-18 16:22:40 -04:00
renovate d45193fe34 chore(deps): update actions/checkout action to v7
PR Checks / hadolint (pull_request) Successful in 12s
PR Checks / build-test (pull_request) Successful in 29s
2026-06-18 15:30:51 +00:00
jcabillot 22399fee92 Merge pull request 'CI: standardize workflows' (#18) from fix/workflow-standard into main
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
Main Release / hadolint (push) Successful in 6s
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
9 changed files with 187 additions and 87 deletions

No files matched your search

+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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
continue-on-error: true
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t ci-image:${{ github.sha }} .
build-push:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # 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@dc802804100637a589fabce1cb79ff13a1411302 # 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@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
continue-on-error: true
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t ci-image:${{ github.sha }} .
build:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t jcabillot/opencode-dispatch:${{ github.sha }} .
tag:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 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/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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
continue-on-error: true
with:
dockerfile: Dockerfile
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t ci-image:${{ github.sha }} .
+12
View File
@@ -0,0 +1,12 @@
name: Renovate
on:
push:
branches:
- main
workflow_dispatch:
jobs:
renovate:
uses: perso/gitea-pipelines/.gitea/workflows/renovate.yaml@main
secrets: inherit
+62
View File
@@ -0,0 +1,62 @@
name: Tag Release
on:
push:
tags: ['*']
jobs:
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
continue-on-error: true
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t ci-image:${{ github.sha }} .
build-push:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6
with:
images: jcabillot/opencode-dispatch
tags: |
type=ref,event=tag
type=ref,event=tag,suffix=-latest
- uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
trigger-renovate:
# The deployment repo perso_private/tf-depl-kubernetes pins this image; its
# Renovate instance only scans hourly, so this dispatch opens the image bump
# PR within minutes of the release instead of up to an hour later.
needs: [build-push]
runs-on: ubuntu-latest
steps:
- name: Trigger Renovate on perso_private/tf-depl-kubernetes
# needs: build-push — Renovate reads Docker Hub, so a scan started before
# the push lands would only see the previous release.
# RENOVATE_TOKEN is the org-level secret of this organisation.
run: |
curl -sS -f -X POST \
-u "renovate:${{ secrets.RENOVATE_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{{"ref":"main"}}' \
"https://scm.cabillot.eu/api/v1/repos/perso_private/tf-depl-kubernetes/actions/workflows/renovate.yaml/dispatches"
echo "Renovate dispatched on perso_private/tf-depl-kubernetes"
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.14-slim FROM python:3.15-slim
WORKDIR /app WORKDIR /app
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}'
}
}
}
}
}
}
+2 -2
View File
@@ -1,3 +1,3 @@
python-telegram-bot==22.7 python-telegram-bot==22.8
requests==2.34.2 requests==2.34.2
python-dotenv==1.2.2 python-dotenv==1.2.4