A set of Docker Container usefull to automate build of Godot games with Woodpecker CI.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add examples

Bigaston 07c6807b 0ad6b2b9

+169
+54
examples/build_android_itch.yml
··· 1 + when: 2 + - event: push 3 + branch: main 4 + 5 + steps: 6 + - name: Build the game for Android 7 + image: ghcr.io/bigaston/godotci:android-4.5-beta3 8 + commands: 9 + - godot --version 10 + 11 + - "> commit.txt" 12 + - short_commit=$(git rev-parse --short HEAD) 13 + - echo "$short_commit" > commit.txt 14 + 15 + - godot --headless --editor --import 16 + 17 + - mkdir -p .build/Android 18 + 19 + - cat /usr/bin/godot.version 20 + - mkdir -p android/build 21 + - unzip ~/.local/share/godot/export_templates/$(cat /usr/bin/godot.version)/android_source.zip -d android/build 22 + - touch android/build/.gdignore 23 + - cat /usr/bin/godot.version > android/.build_version 24 + 25 + # TODO: Find a way to export as release and not debug :D 26 + - godot --headless -v --export-debug Android 27 + 28 + - name: Upload Itchio 29 + image: ghcr.io/bigaston/itchci:latest 30 + commands: 31 + - butler -V 32 + - butler push .build/Android username/game:Android 33 + environment: 34 + BUTLER_API_KEY: 35 + from_secret: BUTLER_API_KEY 36 + 37 + - name: Discord Notification Success 38 + image: ghcr.io/bigaston/discordnotification 39 + settings: 40 + result: success 41 + matrix: Android 42 + webhook: 43 + from_secret: WEBHOOK 44 + when: 45 + - status: ["success"] 46 + - name: Discord Notification Failure 47 + image: ghcr.io/bigaston/discordnotification 48 + settings: 49 + result: failure 50 + matrix: Android 51 + webhook: 52 + from_secret: WEBHOOK 53 + when: 54 + - status: ["failure"]
+53
examples/build_itch.yml
··· 1 + when: 2 + - event: push 3 + branch: main 4 + 5 + matrix: 6 + TARGET: 7 + - Linux 8 + - Windows 9 + - Web 10 + 11 + steps: 12 + - name: Build the game for ${TARGET} 13 + image: ghcr.io/bigaston/godotci:4.5-beta3 14 + commands: 15 + - godot --version 16 + 17 + - "> commit.txt" 18 + - short_commit=$(git rev-parse --short HEAD) 19 + - echo "$short_commit" > commit.txt 20 + 21 + - godot --headless --editor --import 22 + 23 + - mkdir -p .build/${TARGET} 24 + 25 + - godot --headless --export-release ${TARGET} 26 + 27 + - name: Upload Itchio 28 + image: ghcr.io/bigaston/itchci:latest 29 + commands: 30 + - butler -V 31 + - butler push .build/${TARGET} username/game:${TARGET} 32 + environment: 33 + BUTLER_API_KEY: 34 + from_secret: BUTLER_API_KEY 35 + 36 + - name: Discord Notification Success 37 + image: ghcr.io/bigaston/discordnotification 38 + settings: 39 + result: success 40 + matrix: ${TARGET} 41 + webhook: 42 + from_secret: WEBHOOK 43 + when: 44 + - status: ["success"] 45 + - name: Discord Notification Failure 46 + image: ghcr.io/bigaston/discordnotification 47 + settings: 48 + result: failure 49 + matrix: ${TARGET} 50 + webhook: 51 + from_secret: WEBHOOK 52 + when: 53 + - status: ["failure"]
+62
examples/build_steam.yml
··· 1 + when: 2 + - event: push 3 + branch: main 4 + 5 + matrix: 6 + TARGET: 7 + - Linux 8 + - Windows 9 + 10 + steps: 11 + - name: Build the game for ${TARGET} 12 + image: ghcr.io/bigaston/godotci:4.5-beta3 13 + commands: 14 + - godot --version 15 + 16 + - "> commit.txt" 17 + - short_commit=$(git rev-parse --short HEAD) 18 + - echo "$short_commit" > commit.txt 19 + 20 + - godot --headless --editor --import 21 + 22 + - mkdir -p .build/${TARGET} 23 + 24 + - godot --headless --export-release ${TARGET} 25 + 26 + - name: Upload Steam 27 + image: debian 28 + commands: 29 + - apt update 30 + - apt install -y lib32gcc-s1 curl tar 31 + 32 + - curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf - 33 + - chmod +x steamcmd.sh 34 + 35 + - mkdir -p /root/Steam/config 36 + - echo "$STEAM_AUTH_VDF" | base64 -d > /root/Steam/config/config.vdf 37 + - chmod 777 /root/Steam/config/config.vdf 38 + 39 + - ./steamcmd.sh +login username +quit 40 + - ./steamcmd.sh +login username +run_app_build support/steam/upload_config/upload_${TARGET}.vdf +quit 41 + environment: 42 + STEAM_AUTH_VDF: 43 + from_secret: STEAM_AUTH_VDF 44 + 45 + - name: Discord Notification Success 46 + image: ghcr.io/bigaston/discordnotification 47 + settings: 48 + result: success 49 + matrix: ${TARGET} 50 + webhook: 51 + from_secret: WEBHOOK 52 + when: 53 + - status: ["success"] 54 + - name: Discord Notification Failure 55 + image: ghcr.io/bigaston/discordnotification 56 + settings: 57 + result: failure 58 + matrix: ${TARGET} 59 + webhook: 60 + from_secret: WEBHOOK 61 + when: 62 + - status: ["failure"]