From af1713f001de16cbd58b85c377c939d2e66b8b25 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Wed, 29 Jan 2025 15:12:30 +0100 Subject: [PATCH] Move Setup --- .forgejo/workflows/base.yml | 11 +++-------- .forgejo/workflows/csharp.yml | 4 +++- .forgejo/workflows/go.yml | 6 +++++- .forgejo/workflows/godot.yml | 4 +++- .forgejo/workflows/java.yml | 4 +++- .forgejo/workflows/js.yml | 4 +++- .forgejo/workflows/lua.yml | 4 +++- .forgejo/workflows/php.yml | 4 +++- .forgejo/workflows/redot.yml | 4 +++- 9 files changed, 29 insertions(+), 16 deletions(-) diff --git a/.forgejo/workflows/base.yml b/.forgejo/workflows/base.yml index 7025577..8ddcc8a 100644 --- a/.forgejo/workflows/base.yml +++ b/.forgejo/workflows/base.yml @@ -9,15 +9,10 @@ on: jobs: build_act: - runs-on: 'priviliged' + runs-on: 'docker' + container: + image: docker:27.5.1-alpine3.21 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: diff --git a/.forgejo/workflows/csharp.yml b/.forgejo/workflows/csharp.yml index 6a94648..3bdd5dd 100644 --- a/.forgejo/workflows/csharp.yml +++ b/.forgejo/workflows/csharp.yml @@ -8,7 +8,9 @@ on: - 'master' jobs: build_csharp: - runs-on: 'priviliged' + runs-on: 'docker' + container: + image: docker:27.5.1-alpine3.21 strategy: matrix: version: [6, 8] diff --git a/.forgejo/workflows/go.yml b/.forgejo/workflows/go.yml index 80a1c65..f76ee13 100644 --- a/.forgejo/workflows/go.yml +++ b/.forgejo/workflows/go.yml @@ -9,7 +9,11 @@ on: jobs: build_go: - runs-on: 'priviliged' + runs-on: 'docker' + container: + image: docker:27.5.1-alpine3.21 + needs: + - build_act steps: - name: Install Docker run: | diff --git a/.forgejo/workflows/godot.yml b/.forgejo/workflows/godot.yml index 7a71e07..fbba748 100644 --- a/.forgejo/workflows/godot.yml +++ b/.forgejo/workflows/godot.yml @@ -9,7 +9,9 @@ on: jobs: build_godot: - runs-on: 'priviliged' + runs-on: 'docker' + container: + image: docker:27.5.1-alpine3.21 strategy: matrix: version: [4.2.2] diff --git a/.forgejo/workflows/java.yml b/.forgejo/workflows/java.yml index ab32fa4..ff1e45c 100644 --- a/.forgejo/workflows/java.yml +++ b/.forgejo/workflows/java.yml @@ -9,7 +9,9 @@ on: jobs: build_java: - runs-on: 'priviliged' + runs-on: 'docker' + container: + image: docker:27.5.1-alpine3.21 strategy: matrix: version: [8, 17, 21] #No Java 22 jet in Alpine Repos diff --git a/.forgejo/workflows/js.yml b/.forgejo/workflows/js.yml index 3e43ec9..ea2c0fd 100644 --- a/.forgejo/workflows/js.yml +++ b/.forgejo/workflows/js.yml @@ -9,7 +9,9 @@ on: jobs: build_lua: - runs-on: 'priviliged' + runs-on: 'docker' + container: + image: docker:27.5.1-alpine3.21 strategy: matrix: version: [latest] diff --git a/.forgejo/workflows/lua.yml b/.forgejo/workflows/lua.yml index d30db73..a9dbce2 100644 --- a/.forgejo/workflows/lua.yml +++ b/.forgejo/workflows/lua.yml @@ -9,7 +9,9 @@ on: jobs: build_lua: - runs-on: 'priviliged' + runs-on: 'docker' + container: + image: docker:27.5.1-alpine3.21 strategy: matrix: version: [5.1, 5.2, 5.3, 5.4] diff --git a/.forgejo/workflows/php.yml b/.forgejo/workflows/php.yml index 8ae415d..a4f56cd 100644 --- a/.forgejo/workflows/php.yml +++ b/.forgejo/workflows/php.yml @@ -9,7 +9,9 @@ on: jobs: build_php: - runs-on: 'priviliged' + runs-on: 'docker' + container: + image: docker:27.5.1-alpine3.21 strategy: matrix: version: [8.2, 8.3] diff --git a/.forgejo/workflows/redot.yml b/.forgejo/workflows/redot.yml index cca14a1..40dc661 100644 --- a/.forgejo/workflows/redot.yml +++ b/.forgejo/workflows/redot.yml @@ -9,7 +9,9 @@ on: jobs: build_redot: - runs-on: 'priviliged' + runs-on: 'docker' + container: + image: docker:27.5.1-alpine3.21 strategy: matrix: version: [4.3]