From aaad00cd034d8dbdf4ad7cf223a26e5e901e3b08 Mon Sep 17 00:00:00 2001 From: YannK Date: Wed, 10 Jul 2024 17:56:55 +0200 Subject: [PATCH] Adding CI on Forgejo --- .forgejo/workflows/generate_docker_image | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .forgejo/workflows/generate_docker_image diff --git a/.forgejo/workflows/generate_docker_image b/.forgejo/workflows/generate_docker_image new file mode 100644 index 0000000..cd0d34b --- /dev/null +++ b/.forgejo/workflows/generate_docker_image @@ -0,0 +1,23 @@ +on: [push] +jobs: + compilation: + name: Compilation of Docker image for Godot + runs-on: bookworm + container: docker + steps: + - name: Add NodeJs & Git + run: | + uname -a + apk add nodejs npm git + - name: Checkout repository + uses: actions/checkout@v4 + with: + github-server-url: https://git.numenaute.org/ + - name: Compile Godot + run: | + cd godot4 + docker build -t khaganat/godot-export:4 . + docker tag khaganat/godot-export:4 khaganat/godot-export:4 + # - name: Push the Docker image to Docker Hub + # run: | + # docker push khaganat/godot-export:4 \ No newline at end of file