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