runner-images/.forgejo/workflows/build.yml
Snoweuph 3f5989d627
Some checks failed
Build Runner Base / base (push) Successful in 6s
Build Runner Base / java (21) (push) Successful in 5m19s
Build Runner Base / go (push) Successful in 6m23s
Build Runner Base / csharp (6) (push) Failing after 6m56s
Build Runner Base / js (latest) (push) Successful in 31s
Build Runner Base / csharp (8) (push) Failing after 7m3s
Build Runner Base / java (17) (push) Failing after 7m4s
Build Runner Base / lua (5.1) (push) Successful in 25s
Build Runner Base / lua (5.3) (push) Successful in 25s
Build Runner Base / lua (5.2) (push) Successful in 27s
Build Runner Base / lua (5.4) (push) Successful in 24s
Build Runner Base / php (8.3) (push) Successful in 29s
Build Runner Base / redot (4.3) (push) Failing after 12s
Build Runner Base / php (8.2) (push) Successful in 30s
Build Runner Base / java (8) (push) Successful in 2m42s
Move Setup
2025-01-29 20:52:20 +01:00

192 lines
6.1 KiB
YAML

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 }}