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" .