Add option to build specific commit
continuous-integration/drone/push Build was killed Details

master
Simon Bruder 2019-11-30 12:29:20 +00:00
parent 280f8de795
commit 655a15577a
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 3 additions and 1 deletions

View File

@ -21,10 +21,12 @@ RUN apt-get update \
&& apt-get -y install dotnet-sdk-3.0
ARG CACHEBUST=1
ARG GIT_COMMIT=master
ARG CONFIGURATION=Release
RUN git clone --depth=1 https://github.com/ppy/osu \
RUN git clone --depth=50 https://github.com/ppy/osu \
&& cd osu \
&& git checkout ${GIT_COMMIT} \
&& dotnet build -c ${CONFIGURATION} osu.Desktop \
&& dotnet publish -c ${CONFIGURATION} -r linux-x64 -o /opt/osu/ osu.Desktop