2024-07-10 15:58:38 +00:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
compilation:
|
|
|
|
name: Compilation of Docker image for Godot
|
|
|
|
runs-on: bookworm
|
|
|
|
container: docker
|
2024-07-10 16:08:16 +00:00
|
|
|
steps:
|
|
|
|
- name: Add NodeJs
|
|
|
|
run: |
|
|
|
|
uname -a
|
|
|
|
apk add nodejs npm
|
2024-07-10 15:58:38 +00:00
|
|
|
- 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
|
2024-07-10 16:14:32 +00:00
|
|
|
- name: Push the Docker image to Docker Hub
|
|
|
|
run: |
|
|
|
|
docker push khaganat/godot-export:4
|