From e605ca18a5e3fca59fbe4b25c076f182b6af7ac3 Mon Sep 17 00:00:00 2001 From: Guillaume Lapierre Date: Mon, 4 Nov 2024 19:35:56 +0100 Subject: [PATCH] Nightly build of main --- .gitea/workflows/nightly.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .gitea/workflows/nightly.yaml diff --git a/.gitea/workflows/nightly.yaml b/.gitea/workflows/nightly.yaml new file mode 100644 index 0000000..4ed69c5 --- /dev/null +++ b/.gitea/workflows/nightly.yaml @@ -0,0 +1,35 @@ +# +# Build docker image +# + +name: BuildTag +run-name: ${{ gitea.actor }} running CI in the pipeline 🚀 +on: + schedule: + - cron: "0 2 * * *" + +jobs: + BuildNightly: + env: + RUNNER_TOOL_CACHE: /toolcache + runs-on: cth-ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - name: Set up docker buildx + uses: docker/setup-buildx-action@v3 + with: + driver-opts: | + network=giteanet + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Build and push version + uses: docker/build-push-action@v5 + env: + ACTIONS_RUNTIME_TOKEN: '' + with: + push: true + tags: zeguigui/open-report-analyzer:latest \ No newline at end of file