Add Redot
Some checks failed
Build Runner Php / build_php (8.3) (push) Failing after 1s
Build Runner Redot / build_redot (4.3) (push) Failing after 1s
Build Runner Base / build_act (push) Failing after 1m8s
Build Runner csharp / build_csharp (6) (push) Failing after 1m16s
Build Runner csharp / build_csharp (8) (push) Failing after 1m19s
Build Runner Go / build_go (push) Failing after 1m18s
Build Runner Godot / build_godot (4.2.2) (push) Failing after 1m24s
Build Runner Java / build_java (17) (push) Failing after 1m25s
Build Runner Java / build_java (21) (push) Failing after 1m25s
Build Runner Java / build_java (8) (push) Failing after 1m23s
Build Runner JS / build_lua (latest) (push) Failing after 1m24s
Build Runner Lua / build_lua (5.1) (push) Failing after 1m22s
Build Runner Lua / build_lua (5.2) (push) Failing after 1m20s
Build Runner Lua / build_lua (5.3) (push) Failing after 1m20s
Build Runner Lua / build_lua (5.4) (push) Failing after 1m18s
Build Runner Php / build_php (8.2) (push) Failing after 1m17s

This commit is contained in:
Snoweuph 2025-01-29 14:12:42 +01:00
parent 6e8caf06c3
commit ac0e6b954e
Signed by: snoweuph
GPG key ID: BEFC41DA223CEC55
10 changed files with 63 additions and 12 deletions

View file

@ -32,4 +32,4 @@ jobs:
push: true
tags: |
git.euph.dev/actions/runner-basic:latest
git.euph.dev/actions/runner-basic:${{ gitea.run_number }}
git.euph.dev/actions/runner-basic:${{ forgejo.run_number }}

View file

@ -34,4 +34,4 @@ jobs:
build-args: PACKAGE_VERSION=${{ matrix.version }}
tags: |
git.euph.dev/actions/runner-csharp-${{ matrix.version }}:latest
git.euph.dev/actions/runner-csharp-${{ matrix.version }}:${{ gitea.run_number }}
git.euph.dev/actions/runner-csharp-${{ matrix.version }}:${{ forgejo.run_number }}

View file

@ -31,4 +31,4 @@ jobs:
push: true
tags: |
git.euph.dev/actions/runner-go:latest
git.euph.dev/actions/runner-go:${{ gitea.run_number }}
git.euph.dev/actions/runner-go:${{ forgejo.run_number }}

View file

@ -35,4 +35,4 @@ jobs:
build-args: PACKAGE_VERSION=${{ matrix.version }}
tags: |
git.euph.dev/actions/runner-godot-${{ matrix.version }}:latest
git.euph.dev/actions/runner-godot-${{ matrix.version }}:${{ gitea.run_number }}
git.euph.dev/actions/runner-godot-${{ matrix.version }}:${{ forgejo.run_number }}

View file

@ -35,4 +35,4 @@ jobs:
build-args: PACKAGE_VERSION=${{ matrix.version }}
tags: |
git.euph.dev/actions/runner-java-${{ matrix.version }}:latest
git.euph.dev/actions/runner-java-${{ matrix.version }}:${{ gitea.run_number }}
git.euph.dev/actions/runner-java-${{ matrix.version }}:${{ forgejo.run_number }}

View file

@ -35,4 +35,4 @@ jobs:
build-args: PACKAGE_VERSION=${{ matrix.version }}
tags: |
git.euph.dev/actions/runner-js-${{ matrix.version }}:latest
git.euph.dev/actions/runner-js-${{ matrix.version }}:${{ gitea.run_number }}
git.euph.dev/actions/runner-js-${{ matrix.version }}:${{ forgejo.run_number }}

View file

@ -35,4 +35,4 @@ jobs:
build-args: PACKAGE_VERSION=${{ matrix.version }}
tags: |
git.euph.dev/actions/runner-lua-${{ matrix.version }}:latest
git.euph.dev/actions/runner-lua-${{ matrix.version }}:${{ gitea.run_number }}
git.euph.dev/actions/runner-lua-${{ matrix.version }}:${{ forgejo.run_number }}

View file

@ -35,4 +35,4 @@ jobs:
build-args: PACKAGE_VERSION=${{ matrix.version }}
tags: |
git.euph.dev/actions/runner-php-${{ matrix.version }}:latest
git.euph.dev/actions/runner-php-${{ matrix.version }}:${{ gitea.run_number }}
git.euph.dev/actions/runner-php-${{ matrix.version }}:${{ forgejo.run_number }}

View file

@ -0,0 +1,38 @@
name: Build Runner Redot
on:
schedule:
- cron: '0 2 * * *'
push:
branches:
- 'master'
jobs:
build_redot:
runs-on: 'priviliged'
strategy:
matrix:
version: [4.3]
steps:
- name: Install Docker
run: |
rm $(which docker) && curl -fsSL https://get.docker.com | sh
- name: Set up QEMU
uses: 'https://git.euph.dev/actions/docker-setup-qemu@v3'
- name: Setup Buildx
uses: 'https://git.euph.dev/actions/docker-setup-buildx@v3'
- name: Login to Registry
uses: 'https://git.euph.dev/actions/docker-login@v3'
with:
registry: git.euph.dev
username: ${{ secrets.DEPLOY_USER }}
password: ${{ secrets.DEPLOY_SECRET }}
- name: Build and push Godot image
uses: 'https://git.euph.dev/actions/docker-build-push@v5'
with:
context: "{{defaultContext}}:images/actions/redot"
push: true
build-args: PACKAGE_VERSION=${{ matrix.version }}
tags: |
git.euph.dev/actions/runner-redot-${{ matrix.version }}:latest
git.euph.dev/actions/runner-redot-${{ matrix.version }}:${{ forgejo.run_number }}

View file

@ -0,0 +1,13 @@
FROM git.euph.dev/actions/runner-basic:latest
ARG PACKAGE_VERSION
RUN wget $( \
curl -s https://api.github.com/repos/Redot-Engine/redot-engine/releases/tags/$PACKAGE_VERSION-stable \
| grep "browser_download_url.*Redot_v.*-stable_linux_x86_64.zip" \
| cut -d '"' -f 4 - \
| head -n 1 \
) -O Redot.zip \
&& sudo unzip Redot.zip \
&& sudo mv ./Redot_v*-stable_linux_x86_64/Redot_v*-stable_linux.x86_64 /usr/local/bin/redot \
&& rm Redot.zip