Move Setup
Some checks failed
Build Runner Images / base (push) Successful in 22s
Build Runner Images / extended-latest (js) (push) Successful in 28s
Build Runner Images / extended-versioned (lua, 5.4) (push) Successful in 27s
Build Runner Images / extended-versioned (php, 8.3) (push) Successful in 31s
Build Runner Images / extended-versioned (redot, 4.3) (push) Failing after 15s
Build Runner Images / extended-versioned (java, 21) (push) Successful in 1m45s
Build Runner Images / extended-versioned (csharp, 8) (push) Successful in 2m32s
Build Runner Images / extended-latest (go) (push) Successful in 2m42s

This commit is contained in:
Snoweuph 2025-01-29 21:15:46 +01:00
parent 3f5989d627
commit 7220ee5117
Signed by: snoweuph
GPG key ID: BEFC41DA223CEC55
2 changed files with 42 additions and 133 deletions

View file

@ -1,4 +1,4 @@
name: "Build Runner Base" name: "Build Runner Images"
on: on:
schedule: schedule:
@ -17,8 +17,8 @@ jobs:
registry: git.euph.dev registry: git.euph.dev
username: ${{ secrets.DEPLOY_USER }} username: ${{ secrets.DEPLOY_USER }}
password: ${{ secrets.DEPLOY_SECRET }} password: ${{ secrets.DEPLOY_SECRET }}
- name: Build and push act base image - name: Build and push base image
id: build_act_base id: build_base
uses: "https://git.euph.dev/actions/docker-build-push@v5" uses: "https://git.euph.dev/actions/docker-build-push@v5"
with: with:
context: "{{defaultContext}}:images/actions/act" context: "{{defaultContext}}:images/actions/act"
@ -27,13 +27,13 @@ jobs:
git.euph.dev/actions/runner-basic:latest git.euph.dev/actions/runner-basic:latest
git.euph.dev/actions/runner-basic:${{ github.run_number }} git.euph.dev/actions/runner-basic:${{ github.run_number }}
csharp: extended-latest:
runs-on: "docker" runs-on: "docker"
needs: needs:
- base - base
strategy: strategy:
matrix: matrix:
version: [6, 8] language: ["go", "js"]
steps: steps:
- name: Login to Registry - name: Login to Registry
uses: "https://git.euph.dev/actions/docker-login@v3" uses: "https://git.euph.dev/actions/docker-login@v3"
@ -41,43 +41,48 @@ jobs:
registry: git.euph.dev registry: git.euph.dev
username: ${{ secrets.DEPLOY_USER }} username: ${{ secrets.DEPLOY_USER }}
password: ${{ secrets.DEPLOY_SECRET }} password: ${{ secrets.DEPLOY_SECRET }}
- name: Build and push csharp image
- name: Build and push ${{ matrix.language }} image
uses: "https://git.euph.dev/actions/docker-build-push@v5" uses: "https://git.euph.dev/actions/docker-build-push@v5"
with: with:
context: "{{defaultContext}}:images/actions/csharp" context: "{{defaultContext}}:images/actions/${{ matrix.language }}"
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 push: true
tags: | tags: |
git.euph.dev/actions/runner-go:latest git.euph.dev/actions/runner-${{ matrix.language }}:latest
git.euph.dev/actions/runner-go:${{ github.run_number }} git.euph.dev/actions/runner-${{ matrix.language }}:${{ github.run_number }}
java: extended-versioned:
runs-on: "docker" runs-on: "docker"
needs: needs:
- base - base
strategy: strategy:
matrix: matrix:
version: [8, 17, 21] #No Java 22 jet in Alpine Repos language: ["php", "lua", "java", "csharp", "redot"]
include:
- language: php
version: 8.2
- language: php
version: 8.3
- language: lua
version: 5.1
- language: lua
version: 5.2
- language: lua
version: 5.3
- language: lua
version: 5.4
- language: java
version: 8
- language: java
version: 17
- language: java
version: 21
- language: csharp
version: 6
- language: csharp
version: 8
- language: redot
version: 4.3
steps: steps:
- name: Login to Registry - name: Login to Registry
uses: "https://git.euph.dev/actions/docker-login@v3" uses: "https://git.euph.dev/actions/docker-login@v3"
@ -85,108 +90,13 @@ jobs:
registry: git.euph.dev registry: git.euph.dev
username: ${{ secrets.DEPLOY_USER }} username: ${{ secrets.DEPLOY_USER }}
password: ${{ secrets.DEPLOY_SECRET }} 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: - name: Build and push ${{ matrix.language }} {{ matrix.version }} image
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" uses: "https://git.euph.dev/actions/docker-build-push@v5"
with: with:
context: "{{defaultContext}}:images/actions/js" context: "{{defaultContext}}:images/actions/${{ matrix.language }}"
push: true push: true
build-args: PACKAGE_VERSION=${{ matrix.version }} build-args: PACKAGE_VERSION=${{ matrix.version }}
tags: | tags: |
git.euph.dev/actions/runner-js-${{ matrix.version }}:latest git.euph.dev/actions/runner-${{ matrix.language }}-${{ matrix.version }}:latest
git.euph.dev/actions/runner-js-${{ matrix.version }}:${{ github.run_number }} git.euph.dev/actions/runner-${{ matrix.language }}-${{ 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 }}

View file

@ -1,4 +1,3 @@
FROM git.euph.dev/actions/runner-basic:latest FROM git.euph.dev/actions/runner-basic:latest
ARG PACKAGE_VERSION
RUN sudo apk add --no-cache "npm" RUN sudo apk add --no-cache "npm"