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