From 6c37a19b14149570afc9fd3dd81265e429a19750 Mon Sep 17 00:00:00 2001 From: YannK Date: Wed, 10 Jul 2024 17:58:38 +0200 Subject: [PATCH] Enabling Forgejo CI --- .forgejo/workflows/generate_docker_image.yml | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .forgejo/workflows/generate_docker_image.yml diff --git a/.forgejo/workflows/generate_docker_image.yml b/.forgejo/workflows/generate_docker_image.yml new file mode 100644 index 0000000..cd0d34b --- /dev/null +++ b/.forgejo/workflows/generate_docker_image.yml @@ -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