diff --git a/.forgejo/workflows/base.yml b/.forgejo/workflows/base.yml deleted file mode 100644 index 0cfb194..0000000 --- a/.forgejo/workflows/base.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: "Build Runner Base" - -on: - schedule: - - cron: "0 0 * * *" - push: - branches: - - "master" - -jobs: - build_act: - runs-on: "docker" - steps: - - name: Install Node - run: apk add nodejs - - 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 act base image - id: build_act_base - uses: "https://git.euph.dev/actions/docker-build-push@v5" - with: - context: "{{defaultContext}}:images/actions/act" - push: true - tags: | - git.euph.dev/actions/runner-basic:latest - git.euph.dev/actions/runner-basic:${{ github.run_number }} diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml new file mode 100644 index 0000000..41a6923 --- /dev/null +++ b/.forgejo/workflows/build.yml @@ -0,0 +1,192 @@ +name: "Build Runner Base" + +on: + schedule: + - cron: "0 0 * * *" + push: + branches: + - "master" + +jobs: + base: + runs-on: "docker" + steps: + - 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 act base image + id: build_act_base + uses: "https://git.euph.dev/actions/docker-build-push@v5" + with: + context: "{{defaultContext}}:images/actions/act" + push: true + tags: | + git.euph.dev/actions/runner-basic:latest + git.euph.dev/actions/runner-basic:${{ github.run_number }} + + csharp: + runs-on: "docker" + needs: + - base + strategy: + matrix: + version: [6, 8] + steps: + - 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 csharp image + uses: "https://git.euph.dev/actions/docker-build-push@v5" + with: + context: "{{defaultContext}}:images/actions/csharp" + push: true + build-args: PACKAGE_VERSION=${{ matrix.version }} + tags: | + git.euph.dev/actions/runner-csharp-${{ matrix.version }}:latest + git.euph.dev/actions/runner-csharp-${{ matrix.version }}:${{ github.run_number }} + + go: + runs-on: "docker" + needs: + - base + steps: + - 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 Go image + uses: "https://git.euph.dev/actions/docker-build-push@v5" + with: + context: "{{defaultContext}}:images/actions/go" + push: true + tags: | + git.euph.dev/actions/runner-go:latest + git.euph.dev/actions/runner-go:${{ github.run_number }} + + java: + runs-on: "docker" + needs: + - base + strategy: + matrix: + version: [8, 17, 21] #No Java 22 jet in Alpine Repos + steps: + - 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 java image + uses: "https://git.euph.dev/actions/docker-build-push@v5" + with: + context: "{{defaultContext}}:images/actions/java" + push: true + build-args: PACKAGE_VERSION=${{ matrix.version }} + tags: | + git.euph.dev/actions/runner-java-${{ matrix.version }}:latest + git.euph.dev/actions/runner-java-${{ matrix.version }}:${{ github.run_number }} + + js: + runs-on: "docker" + needs: + - base + strategy: + matrix: + version: [latest] + steps: + - 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 JS image + uses: "https://git.euph.dev/actions/docker-build-push@v5" + with: + context: "{{defaultContext}}:images/actions/js" + push: true + build-args: PACKAGE_VERSION=${{ matrix.version }} + tags: | + git.euph.dev/actions/runner-js-${{ matrix.version }}:latest + git.euph.dev/actions/runner-js-${{ matrix.version }}:${{ github.run_number }} + + lua: + runs-on: "docker" + needs: + - base + strategy: + matrix: + version: [5.1, 5.2, 5.3, 5.4] + steps: + - 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 Lua image + uses: "https://git.euph.dev/actions/docker-build-push@v5" + with: + context: "{{defaultContext}}:images/actions/lua" + push: true + build-args: PACKAGE_VERSION=${{ matrix.version }} + tags: | + git.euph.dev/actions/runner-lua-${{ matrix.version }}:latest + git.euph.dev/actions/runner-lua-${{ matrix.version }}:${{ github.run_number }} + + php: + runs-on: "docker" + needs: + - base + strategy: + matrix: + version: [8.2, 8.3] + steps: + - 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 php image + uses: "https://git.euph.dev/actions/docker-build-push@v5" + with: + context: "{{defaultContext}}:images/actions/php" + push: true + build-args: PACKAGE_VERSION=${{ matrix.version }} + tags: | + git.euph.dev/actions/runner-php-${{ matrix.version }}:latest + git.euph.dev/actions/runner-php-${{ matrix.version }}:${{ github.run_number }} + + redot: + runs-on: "docker" + needs: + - base + strategy: + matrix: + version: [4.3] + steps: + - 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 }} diff --git a/.forgejo/workflows/csharp.yml b/.forgejo/workflows/csharp.yml deleted file mode 100644 index 3bdd5dd..0000000 --- a/.forgejo/workflows/csharp.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Build Runner csharp - -on: - schedule: - - cron: '0 1 * * *' - push: - branches: - - 'master' -jobs: - build_csharp: - runs-on: 'docker' - container: - image: docker:27.5.1-alpine3.21 - strategy: - matrix: - version: [6, 8] - 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 csharp image - uses: 'https://git.euph.dev/actions/docker-build-push@v5' - with: - context: "{{defaultContext}}:images/actions/csharp" - push: true - build-args: PACKAGE_VERSION=${{ matrix.version }} - tags: | - git.euph.dev/actions/runner-csharp-${{ matrix.version }}:latest - git.euph.dev/actions/runner-csharp-${{ matrix.version }}:${{ forgejo.run_number }} diff --git a/.forgejo/workflows/go.yml b/.forgejo/workflows/go.yml deleted file mode 100644 index f76ee13..0000000 --- a/.forgejo/workflows/go.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Build Runner Go - -on: - schedule: - - cron: '0 1 * * *' - push: - branches: - - 'master' - -jobs: - build_go: - runs-on: 'docker' - container: - image: docker:27.5.1-alpine3.21 - needs: - - build_act - 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 Go image - uses: 'https://git.euph.dev/actions/docker-build-push@v5' - with: - context: "{{defaultContext}}:images/actions/go" - push: true - tags: | - git.euph.dev/actions/runner-go:latest - git.euph.dev/actions/runner-go:${{ forgejo.run_number }} diff --git a/.forgejo/workflows/godot.yml b/.forgejo/workflows/godot.yml deleted file mode 100644 index fbba748..0000000 --- a/.forgejo/workflows/godot.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Build Runner Godot - -on: - schedule: - - cron: '0 2 * * *' - push: - branches: - - 'master' - -jobs: - build_godot: - runs-on: 'docker' - container: - image: docker:27.5.1-alpine3.21 - strategy: - matrix: - version: [4.2.2] - 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/godot" - push: true - build-args: PACKAGE_VERSION=${{ matrix.version }} - tags: | - git.euph.dev/actions/runner-godot-${{ matrix.version }}:latest - git.euph.dev/actions/runner-godot-${{ matrix.version }}:${{ forgejo.run_number }} diff --git a/.forgejo/workflows/java.yml b/.forgejo/workflows/java.yml deleted file mode 100644 index ff1e45c..0000000 --- a/.forgejo/workflows/java.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Build Runner Java - -on: - schedule: - - cron: '0 1 * * *' - push: - branches: - - 'master' - -jobs: - build_java: - runs-on: 'docker' - container: - image: docker:27.5.1-alpine3.21 - strategy: - matrix: - version: [8, 17, 21] #No Java 22 jet in Alpine Repos - 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 java image - uses: 'https://git.euph.dev/actions/docker-build-push@v5' - with: - context: "{{defaultContext}}:images/actions/java" - push: true - build-args: PACKAGE_VERSION=${{ matrix.version }} - tags: | - git.euph.dev/actions/runner-java-${{ matrix.version }}:latest - git.euph.dev/actions/runner-java-${{ matrix.version }}:${{ forgejo.run_number }} diff --git a/.forgejo/workflows/js.yml b/.forgejo/workflows/js.yml deleted file mode 100644 index ea2c0fd..0000000 --- a/.forgejo/workflows/js.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Build Runner JS - -on: - schedule: - - cron: '0 1 * * *' - push: - branches: - - 'master' - -jobs: - build_lua: - runs-on: 'docker' - container: - image: docker:27.5.1-alpine3.21 - strategy: - matrix: - version: [latest] - 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 JS image - uses: 'https://git.euph.dev/actions/docker-build-push@v5' - with: - context: "{{defaultContext}}:images/actions/js" - push: true - build-args: PACKAGE_VERSION=${{ matrix.version }} - tags: | - git.euph.dev/actions/runner-js-${{ matrix.version }}:latest - git.euph.dev/actions/runner-js-${{ matrix.version }}:${{ forgejo.run_number }} diff --git a/.forgejo/workflows/lua.yml b/.forgejo/workflows/lua.yml deleted file mode 100644 index a9dbce2..0000000 --- a/.forgejo/workflows/lua.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Build Runner Lua - -on: - schedule: - - cron: '0 1 * * *' - push: - branches: - - 'master' - -jobs: - build_lua: - runs-on: 'docker' - container: - image: docker:27.5.1-alpine3.21 - strategy: - matrix: - version: [5.1, 5.2, 5.3, 5.4] - 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 Lua image - uses: 'https://git.euph.dev/actions/docker-build-push@v5' - with: - context: "{{defaultContext}}:images/actions/lua" - push: true - build-args: PACKAGE_VERSION=${{ matrix.version }} - tags: | - git.euph.dev/actions/runner-lua-${{ matrix.version }}:latest - git.euph.dev/actions/runner-lua-${{ matrix.version }}:${{ forgejo.run_number }} diff --git a/.forgejo/workflows/php.yml b/.forgejo/workflows/php.yml deleted file mode 100644 index a4f56cd..0000000 --- a/.forgejo/workflows/php.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Build Runner Php - -on: - schedule: - - cron: '0 1 * * *' - push: - branches: - - 'master' - -jobs: - build_php: - runs-on: 'docker' - container: - image: docker:27.5.1-alpine3.21 - strategy: - matrix: - version: [8.2, 8.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 php image - uses: 'https://git.euph.dev/actions/docker-build-push@v5' - with: - context: "{{defaultContext}}:images/actions/php" - push: true - build-args: PACKAGE_VERSION=${{ matrix.version }} - tags: | - git.euph.dev/actions/runner-php-${{ matrix.version }}:latest - git.euph.dev/actions/runner-php-${{ matrix.version }}:${{ forgejo.run_number }} diff --git a/.forgejo/workflows/redot.yml b/.forgejo/workflows/redot.yml deleted file mode 100644 index 40dc661..0000000 --- a/.forgejo/workflows/redot.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Build Runner Redot - -on: - schedule: - - cron: '0 2 * * *' - push: - branches: - - 'master' - -jobs: - build_redot: - runs-on: 'docker' - container: - image: docker:27.5.1-alpine3.21 - 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 }}