build(ci): move back to hosted-runners (#547)

build(release): revert to hosted-runners
This commit is contained in:
ze0s 2022-11-18 21:03:56 +01:00 committed by GitHub
parent a93b54bbbc
commit 33aa21fc15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ permissions:
jobs:
web:
name: Build web
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
@ -44,7 +44,7 @@ jobs:
goreleaserbuild:
name: Build Go binaries
if: github.event_name == 'pull_request'
runs-on: self-hosted
runs-on: ubuntu-latest
needs: web
steps:
- name: Checkout
@ -82,7 +82,7 @@ jobs:
goreleaser:
name: Build & publish binaries and images
if: startsWith(github.ref, 'refs/tags/')
runs-on: self-hosted
runs-on: ubuntu-latest
needs: web
steps:
- name: Checkout
@ -119,7 +119,7 @@ jobs:
docker:
name: Build and publish Docker images
runs-on: self-hosted
runs-on: ubuntu-latest
needs: web
steps:
- name: Checkout
@ -159,7 +159,7 @@ jobs:
context: .
file: ./Dockerfile.ci
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
push: true
push: ${{ github.repository_owner == 'autobrr' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |