runner-images/.gitea/workflows/csharp.yml
Snoweuph 550604eb20
All checks were successful
Build Runner Lua / build_lua (5.1) (push) Successful in 2m3s
Build Runner Base / build_act (push) Successful in 2m12s
Build Runner Lua / build_lua (5.2) (push) Successful in 2m13s
Build Runner Lua / build_lua (5.3) (push) Successful in 2m11s
Build Runner Lua / build_lua (5.4) (push) Successful in 2m12s
Build Runner Php / build_php (8.2) (push) Successful in 2m8s
Build Runner Php / build_php (8.1) (push) Successful in 2m14s
Build Runner Php / build_php (8.3) (push) Successful in 2m10s
Build Runner Java / build_java (17) (push) Successful in 2m37s
Build Runner Java / build_java (8) (push) Successful in 2m44s
Build Runner Java / build_java (21) (push) Successful in 2m50s
.gitea/workflows/csharp.yml aktualisiert
2024-05-09 21:09:26 +00:00

34 lines
1.1 KiB
YAML

name: Build Runner csharp
on:
branches:
- 'master'
jobs:
build_csharp:
runs-on: 'priviliged'
strategy:
matrix:
version: [6, 7]
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 }}:${{ gitea.run_number }}