Skip to content

Commit 5605521

Browse files
committed
Remove downloading rulesets
1 parent 555d542 commit 5605521

4 files changed

Lines changed: 12 additions & 145 deletions

File tree

.github/workflows/push-osurx-to-github-packages.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

.github/workflows/push-to-github-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Build and Push Docker Image
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ osurx ]
66

77
env:
88
REGISTRY: ghcr.io
9-
IMAGE_NAME: googuteam/osu-performance-server
9+
IMAGE_NAME: googuteam/osu-performance-server-osurx
1010

1111
jobs:
1212
build:

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ COPY global.json* ./
66
COPY osu-performance-server.sln ./
77
COPY PerformanceServer/PerformanceServer.csproj PerformanceServer/
88

9+
ARG GH_OWNER
10+
ARG GH_TOKEN
11+
12+
RUN dotnet nuget add source \
13+
--name github \
14+
--username ${GH_OWNER} \
15+
--password ${GH_TOKEN} \
16+
--store-password-in-clear-text \
17+
"https://nuget.pkg.github.com/${GH_OWNER}/index.json"
18+
919
RUN dotnet restore osu-performance-server.sln
1020

1121
COPY PerformanceServer/ PerformanceServer/

Dockerfile-osurx

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)