updated the runs-on runner image

This commit is contained in:
G4MM4 2024-09-27 18:53:01 -05:00
parent f00413edeb
commit 10ace6b43b

View File

@ -13,11 +13,16 @@ on:
jobs:
compile_binaries:
runs-on: ubuntu-22.04:docker://golang:latest
runs-on: gitea/runner-images:ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Set COMPILE_JOB_ID
run: echo "COMPILE_JOB_ID=${{ gitea.job_id }}" >> $GITEA_OUTPUT
@ -51,7 +56,7 @@ jobs:
docker_build:
needs: compile_binaries
runs-on: ubuntu-22.04:docker://docker:cli
runs-on: gitea/runner-images:ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
@ -90,7 +95,7 @@ jobs:
create_release:
needs: docker_build
if: startsWith(gitea.ref, 'refs/tags/')
runs-on: ubuntu-22.04:docker://node:16-bullseye
runs-on: gitea/runner-images:ubuntu-22.04
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
@ -119,7 +124,7 @@ jobs:
docker_tag_latest:
needs: create_release
if: startsWith(gitea.ref, 'refs/tags/')
runs-on: ubuntu-22.04:docker://docker:cli
runs-on: gitea/runner-images:ubuntu-22.04
steps:
- name: Login to Gitea Container Registry
uses: docker/login-action@v2