Adding CI on Forgejo
This commit is contained in:
parent
2fbe68dd3d
commit
aaad00cd03
1 changed files with 23 additions and 0 deletions
23
.forgejo/workflows/generate_docker_image
Normal file
23
.forgejo/workflows/generate_docker_image
Normal file
|
@ -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
|
Loading…
Reference in a new issue