From 5f9e3eadf165bfe692a3dba7e117221746c0002e Mon Sep 17 00:00:00 2001 From: Sil Klaasboer Date: Wed, 28 May 2025 16:10:06 +0200 Subject: [PATCH] add basic build step to validate DockerFile --- .gitea/workflows/build.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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..ed14107 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,21 @@ +# .gitea/workflows/build.yml +name: Build Validation + +on: + push: + branches: + - '**' + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Build Docker Image + run: | + docker build -t ${{ secrets.LOCAL_INSTANCE_IP }}/${{ secrets.DOCKER_USERNAME }}/devcontainer:latest -f Dockerfile . +