Add option to build specific commit
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
280f8de795
commit
655a15577a
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue