Use self hosted
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -8,7 +8,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: [self-hosted, ubuntu-latest]
|
||||
runs-on: self-hosted
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
@@ -80,7 +80,7 @@ jobs:
|
||||
release:
|
||||
name: Release
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: self-hosted
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
@@ -102,6 +102,7 @@ jobs:
|
||||
git lfs install
|
||||
|
||||
- name: Publish to zurg-early-releases
|
||||
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||
run: |
|
||||
git clone https://x-access-token:${{ secrets.TOKEN }}@github.com/debridmediamanager/zurg-early-releases.git
|
||||
mkdir -p zurg-early-releases/releases/${{ steps.version.outputs.version }}
|
||||
@@ -114,7 +115,7 @@ jobs:
|
||||
|
||||
|
||||
- name: Publish to zurg-testing
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
run: |
|
||||
git clone https://x-access-token:${{ secrets.TOKEN }}@github.com/debridmediamanager/zurg-testing.git
|
||||
mkdir -p zurg-testing/releases/${{ steps.version.outputs.version }}
|
||||
|
||||
2
.github/workflows/build_docker.yml
vendored
2
.github/workflows/build_docker.yml
vendored
@@ -8,7 +8,7 @@ on:
|
||||
jobs:
|
||||
build-and-push-image:
|
||||
name: Docker Build
|
||||
runs-on: [self-hosted, ubuntu-latest]
|
||||
runs-on: self-hosted
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
Reference in New Issue
Block a user