From c96d074ac8108eb48915c7d5d783bd966efed496 Mon Sep 17 00:00:00 2001 From: VitalickS Date: Wed, 31 Dec 2025 06:41:26 +0000 Subject: [PATCH] Add .gitea/workflows/build-and-test.yml --- .gitea/workflows/build-and-test.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitea/workflows/build-and-test.yml diff --git a/.gitea/workflows/build-and-test.yml b/.gitea/workflows/build-and-test.yml new file mode 100644 index 0000000..c46ee52 --- /dev/null +++ b/.gitea/workflows/build-and-test.yml @@ -0,0 +1,20 @@ +name: Build and Test + +run-name: ${{ gitea.actor }} is building a Docker image 🚀 + +on: [push] # Triggers the workflow on push events + +jobs: + build-image: + runs-on: ubuntu-latest # Specifies the runner environment + steps: + - name: Checkout Code + uses: actions/checkout@v4 # Uses a standard action to check out the repository code + + - name: Build Docker image + run: | + docker build -t TestImage:latest . + # The 'run:' keyword executes shell commands + + - name: Run tests (example) + run: echo "Tests passed!"