From 7c8072b295029894f03eb3665be629019942dca7 Mon Sep 17 00:00:00 2001 From: mightypanders Date: Sat, 17 Jun 2023 01:20:54 +0200 Subject: [PATCH] add separate compile step should be run on every push to a branch to check for compilability --- .gitea/workflows/compile.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitea/workflows/compile.yaml diff --git a/.gitea/workflows/compile.yaml b/.gitea/workflows/compile.yaml new file mode 100644 index 0000000..0309d61 --- /dev/null +++ b/.gitea/workflows/compile.yaml @@ -0,0 +1,17 @@ +name: Compile the repository +on: [push] +env: + REGISTRY: gitea.brudi.xyz + IMAGE_NAME: ${{ gitea.repository }} + USER: ${{ gitea.actor }} +jobs: + compile: + runs-on: ubuntu-latest + container: catthehacker/ubuntu:act-latest + permissions: + contents: read + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Build Container + run: docker build -t "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest" .