Add option to build specific commit
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
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

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