Move to Forgejo and add Go
Some checks failed
Build Runner Base / build_act (push) Successful in 2m6s
Build Runner csharp / build_csharp (6) (push) Successful in 2m30s
Build Runner Go / build_go (push) Successful in 2m34s
Build Runner Java / build_java (22) (push) Failing after 2m33s
Build Runner Lua / build_lua (5.1) (push) Successful in 2m30s
Build Runner Lua / build_lua (5.2) (push) Successful in 2m34s
Build Runner JS / build_lua (latest) (push) Successful in 2m38s
Build Runner Java / build_java (21) (push) Successful in 2m48s
Build Runner Lua / build_lua (5.4) (push) Successful in 2m35s
Build Runner Lua / build_lua (5.3) (push) Successful in 2m38s
Build Runner Php / build_php (8.3) (push) Successful in 2m34s
Build Runner Php / build_php (8.2) (push) Successful in 2m36s
Build Runner csharp / build_csharp (8) (push) Successful in 3m13s
Build Runner Godot / build_godot (4.2.2) (push) Successful in 3m33s
Build Runner Java / build_java (8) (push) Successful in 3m31s
Build Runner Java / build_java (17) (push) Successful in 4m35s

This commit is contained in:
Snoweuph 2024-09-16 19:17:26 +02:00
parent c0b6bed61e
commit a63306c8c1
Signed by: Snoweuph
GPG key ID: 4014606F050AEF63
9 changed files with 36 additions and 0 deletions

32
.forgejo/workflows/go.yml Normal file
View file

@ -0,0 +1,32 @@
name: Build Runner Go
on:
push:
branches:
- 'master'
jobs:
build_go:
runs-on: 'priviliged'
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:${{ gitea.run_number }}

View file

@ -0,0 +1,4 @@
FROM git.euph.dev/actions/runner-basic:latest
RUN sudo apk add --no-cache "go"
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh