From 53a10e3e08f562fd7192b0e941b8e34c43eb8ce5 Mon Sep 17 00:00:00 2001 From: Guillaume Lapierre Date: Tue, 26 Mar 2024 05:52:23 +0100 Subject: [PATCH] Setup build workflow --- .gitea/workflows/build.yaml | 17 +++++++++++++++++ .gitea/workflows/demo.yaml | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..8546adf --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,17 @@ +# +# Build docker image +# + +name: Démo +run-name: ${{ gitea.actor }} running CI in the pipeline 🚀 +on: [ push ] + +jobs: + build: + runs-on: ubuntu-latest + if: gitea.ref == 'refs/heads/main' + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - name: Set up docker buildx + uses: docker/setup-buildx-action@v3 \ No newline at end of file diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index b43c386..03e4f8e 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -2,7 +2,7 @@ # .gitea/gitea-ci.yaml # -name: Build +name: Démo run-name: ${{ gitea.actor }} running CI in the pipeline 🚀 on: [ push ]