From 977c9bd85a062cdcdc25e16057d06367b272d3be Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 15:32:20 -0400 Subject: [PATCH 1/9] feat(ci): add PR checks workflow with hadolint, build, and test --- .gitea/workflows/pr.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .gitea/workflows/pr.yaml diff --git a/.gitea/workflows/pr.yaml b/.gitea/workflows/pr.yaml new file mode 100644 index 0000000..d088a49 --- /dev/null +++ b/.gitea/workflows/pr.yaml @@ -0,0 +1,34 @@ +name: PR Checks + +on: + pull_request: + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + - 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@df4cb1c069e1874edd3143118844c72031235010 # v6 + - name: Build image + run: docker build -t ci-image:${{ github.sha }} . + + test: + runs-on: ubuntu-latest + needs: build + steps: + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + - name: Build image + run: docker build -t ci-image:${{ github.sha }} . + - name: Run tests + run: bash tests/test.sh ci-image:${{ github.sha }} -- 2.52.0 From 80213da94f7dcf499f49fa5ae6e260a003478e62 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 15:32:30 -0400 Subject: [PATCH 2/9] feat(ci): add main branch workflow with lint, build, test, push --- .gitea/workflows/main.yaml | 80 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 .gitea/workflows/main.yaml diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml new file mode 100644 index 0000000..fc8e5f2 --- /dev/null +++ b/.gitea/workflows/main.yaml @@ -0,0 +1,80 @@ +name: Main Branch + +on: + push: + branches: [master] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + - 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@df4cb1c069e1874edd3143118844c72031235010 # v6 + - name: Build image + run: docker build -t ci-image:${{ github.sha }} . + - name: Save image + run: docker save ci-image:${{ github.sha }} > image.tar + - name: Upload artifact + uses: ChristopherHX/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2 # main + with: + name: docker-image + path: image.tar + + test: + runs-on: ubuntu-latest + needs: build + steps: + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + - name: Download artifact + uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main + with: + name: docker-image + - name: Load image + run: docker load < image.tar + - name: Run tests + run: bash tests/test.sh ci-image:${{ github.sha }} + + push: + runs-on: ubuntu-latest + needs: test + if: github.event_name != 'pull_request' + steps: + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + with: + fetch-depth: 0 + - name: Download artifact + uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main + with: + name: docker-image + - name: Load image + run: docker load < image.tar + - name: Login to Docker Hub + uses: docker/login-action@e92390c5fb421da1463c202d90fedabe47eede95 # v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Tag and push latest + run: | + docker tag ci-image:${{ github.sha }} jcabillot/crond:latest + docker push jcabillot/crond:latest + - name: Bump version and push tag + if: github.event_name == 'push' + uses: anothrNick/github-tag-action@4ed44965e0dbd6c1f5a8d1c2b8b40c86275e9e51 # v1.75.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DEFAULT_BUMP: patch + RELEASE_BRANCHES: master + WITH_V: true + GIT_API_TAGGING: false -- 2.52.0 From 8a1c7eae7ecbd2d7b87a87bf7650e02416aeec16 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 15:32:33 -0400 Subject: [PATCH 3/9] feat(ci): add tag release workflow for versioned Docker pushes --- .gitea/workflows/tag.yaml | 65 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 .gitea/workflows/tag.yaml diff --git a/.gitea/workflows/tag.yaml b/.gitea/workflows/tag.yaml new file mode 100644 index 0000000..ceead38 --- /dev/null +++ b/.gitea/workflows/tag.yaml @@ -0,0 +1,65 @@ +name: Tag Release + +on: + push: + tags: + - 'v*' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + - name: Build image + run: docker build -t ci-image:${{ github.sha }} . + - name: Save image + run: docker save ci-image:${{ github.sha }} > image.tar + - name: Upload artifact + uses: ChristopherHX/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2 # main + with: + name: docker-image + path: image.tar + + test: + runs-on: ubuntu-latest + needs: build + steps: + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + - name: Download artifact + uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main + with: + name: docker-image + - name: Load image + run: docker load < image.tar + - name: Run tests + run: bash tests/test.sh ci-image:${{ github.sha }} + + push: + runs-on: ubuntu-latest + needs: test + steps: + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + with: + fetch-depth: 0 + - name: Download artifact + uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main + with: + name: docker-image + - name: Load image + run: docker load < image.tar + - name: Login to Docker Hub + uses: docker/login-action@e92390c5fb421da1463c202d90fedabe47eede95 # v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Extract tag name + run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV + - name: Tag and push with version + run: | + docker tag ci-image:${{ github.sha }} jcabillot/crond:${{ env.TAG }} + docker tag ci-image:${{ github.sha }} jcabillot/crond:latest + docker push jcabillot/crond:${{ env.TAG }} + docker push jcabillot/crond:latest -- 2.52.0 From 980dea8082c8b8dcdf2e4fc0e11f79c13f53821f Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 15:32:36 -0400 Subject: [PATCH 4/9] feat(ci): add nightly rebuild workflow with cron schedule --- .gitea/workflows/cron.yaml | 60 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .gitea/workflows/cron.yaml diff --git a/.gitea/workflows/cron.yaml b/.gitea/workflows/cron.yaml new file mode 100644 index 0000000..2b0b25b --- /dev/null +++ b/.gitea/workflows/cron.yaml @@ -0,0 +1,60 @@ +name: Nightly Rebuild + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + - name: Build image + run: docker build -t ci-image:${{ github.sha }} . + - name: Save image + run: docker save ci-image:${{ github.sha }} > image.tar + - name: Upload artifact + uses: ChristopherHX/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2 # main + with: + name: docker-image + path: image.tar + + test: + runs-on: ubuntu-latest + needs: build + steps: + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + - name: Download artifact + uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main + with: + name: docker-image + - name: Load image + run: docker load < image.tar + - name: Run tests + run: bash tests/test.sh ci-image:${{ github.sha }} + + push: + runs-on: ubuntu-latest + needs: test + steps: + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + with: + fetch-depth: 0 + - name: Download artifact + uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main + with: + name: docker-image + - name: Load image + run: docker load < image.tar + - name: Login to Docker Hub + uses: docker/login-action@e92390c5fb421da1463c202d90fedabe47eede95 # v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Tag and push latest + run: | + docker tag ci-image:${{ github.sha }} jcabillot/crond:latest + docker push jcabillot/crond:latest -- 2.52.0 From 682ed23ac95dbdda5f7eda1b7e5cc88f8d8d16a3 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 15:32:40 -0400 Subject: [PATCH 5/9] chore(ci): remove old monolithic docker-build.yaml in favor of split workflows --- .gitea/workflows/docker-build.yaml | 82 ------------------------------ 1 file changed, 82 deletions(-) delete mode 100644 .gitea/workflows/docker-build.yaml diff --git a/.gitea/workflows/docker-build.yaml b/.gitea/workflows/docker-build.yaml deleted file mode 100644 index 2a8464f..0000000 --- a/.gitea/workflows/docker-build.yaml +++ /dev/null @@ -1,82 +0,0 @@ -name: Docker Build and Push - -on: - pull_request: - push: - branches: [master] - schedule: - - cron: '30 3 * * 3' - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 - - name: Hadolint - uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0 - - build: - runs-on: ubuntu-latest - needs: lint - steps: - - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 - - name: Build image - run: docker build -t ci-image:${{ github.sha }} . - - name: Save image - run: docker save ci-image:${{ github.sha }} > image.tar - - name: Upload artifact - uses: ChristopherHX/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2 # main - with: - name: docker-image - path: image.tar - - test: - runs-on: ubuntu-latest - needs: build - steps: - - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 - - name: Download artifact - uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main - with: - name: docker-image - - name: Load image - run: docker load < image.tar - - name: Run tests - run: bash tests/test.sh ci-image:${{ github.sha }} - - push: - runs-on: ubuntu-latest - if: github.event_name != 'pull_request' - needs: test - steps: - - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 - with: - fetch-depth: 0 - - name: Download artifact - uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main - with: - name: docker-image - - name: Load image - run: docker load < image.tar - - name: Login to Docker Hub - uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Tag and push - run: | - docker tag ci-image:${{ github.sha }} jcabillot/crond:latest - docker push jcabillot/crond:latest - - name: Bump version and push tag - if: github.event_name == 'push' - uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1.75.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DEFAULT_BUMP: patch - RELEASE_BRANCHES: master - WITH_V: true - GIT_API_TAGGING: false \ No newline at end of file -- 2.52.0 From 2fe73e8cc8083527145930f736f4c19f315d1f92 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 15:35:42 -0400 Subject: [PATCH 6/9] fix(ci): correct actions/checkout SHA to valid v4 ref --- .gitea/workflows/pr.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/pr.yaml b/.gitea/workflows/pr.yaml index d088a49..90e6bb7 100644 --- a/.gitea/workflows/pr.yaml +++ b/.gitea/workflows/pr.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Hadolint uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0 continue-on-error: true @@ -18,7 +18,7 @@ jobs: needs: lint steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Build image run: docker build -t ci-image:${{ github.sha }} . @@ -27,7 +27,7 @@ jobs: needs: build steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Build image run: docker build -t ci-image:${{ github.sha }} . - name: Run tests -- 2.52.0 From 4e4b35b6b1f00e89a69e5e5a04a5da4b3eb1b9a4 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 15:35:48 -0400 Subject: [PATCH 7/9] fix(ci): correct actions/checkout, docker/login-action, and github-tag-action SHAs --- .gitea/workflows/main.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index fc8e5f2..503926d 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Hadolint uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0 continue-on-error: true @@ -19,7 +19,7 @@ jobs: needs: lint steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Build image run: docker build -t ci-image:${{ github.sha }} . - name: Save image @@ -35,7 +35,7 @@ jobs: needs: build steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Download artifact uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main with: @@ -51,7 +51,7 @@ jobs: if: github.event_name != 'pull_request' steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: 0 - name: Download artifact @@ -61,7 +61,7 @@ jobs: - name: Load image run: docker load < image.tar - name: Login to Docker Hub - uses: docker/login-action@e92390c5fb421da1463c202d90fedabe47eede95 # v3 + uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -71,7 +71,7 @@ jobs: docker push jcabillot/crond:latest - name: Bump version and push tag if: github.event_name == 'push' - uses: anothrNick/github-tag-action@4ed44965e0dbd6c1f5a8d1c2b8b40c86275e9e51 # v1.75.0 + uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DEFAULT_BUMP: patch -- 2.52.0 From bbee1e557c7af269a9afa39ef398543b67b31306 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 15:35:52 -0400 Subject: [PATCH 8/9] fix(ci): correct actions/checkout and docker/login-action SHAs --- .gitea/workflows/tag.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/tag.yaml b/.gitea/workflows/tag.yaml index ceead38..df6840e 100644 --- a/.gitea/workflows/tag.yaml +++ b/.gitea/workflows/tag.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Build image run: docker build -t ci-image:${{ github.sha }} . - name: Save image @@ -26,7 +26,7 @@ jobs: needs: build steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Download artifact uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main with: @@ -41,7 +41,7 @@ jobs: needs: test steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: 0 - name: Download artifact @@ -51,7 +51,7 @@ jobs: - name: Load image run: docker load < image.tar - name: Login to Docker Hub - uses: docker/login-action@e92390c5fb421da1463c202d90fedabe47eede95 # v3 + uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} -- 2.52.0 From dadef5f5afc864534af9c92245676e443b7e852e Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 15:36:03 -0400 Subject: [PATCH 9/9] fix(ci): correct actions/checkout and docker/login-action SHAs --- .gitea/workflows/cron.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/cron.yaml b/.gitea/workflows/cron.yaml index 2b0b25b..265d66d 100644 --- a/.gitea/workflows/cron.yaml +++ b/.gitea/workflows/cron.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Build image run: docker build -t ci-image:${{ github.sha }} . - name: Save image @@ -25,7 +25,7 @@ jobs: needs: build steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Download artifact uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main with: @@ -40,7 +40,7 @@ jobs: needs: test steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: 0 - name: Download artifact @@ -50,7 +50,7 @@ jobs: - name: Load image run: docker load < image.tar - name: Login to Docker Hub - uses: docker/login-action@e92390c5fb421da1463c202d90fedabe47eede95 # v3 + uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} -- 2.52.0