Clone with depth 1
continuous-integration/drone/push Build is passing Details

master
Simon Bruder 2020-07-10 22:38:12 +02:00
parent 6f641bbd97
commit e4a40279bc
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ RUN apt-get update \
ARG CACHEBUST=1
RUN OSU_VERSION=$(curl -s https://api.github.com/repos/ppy/osu/releases/latest | jq -r .tag_name) \
&& git clone --single-branch -b ${OSU_VERSION} https://github.com/ppy/osu \
&& git clone --depth=1 --single-branch -b ${OSU_VERSION} https://github.com/ppy/osu \
&& cd osu \
&& dotnet publish -c Release -r linux-x64 --self-contained true -o /opt/osu/ osu.Desktop /p:PublishTrimmed=true \
&& echo "Version ${OSU_VERSION}, Built on $(date '+%Y-%m-%d %H:%M')" > /opt/osu/version