Always checkout latest tag

This commit is contained in:
Esmail EL BoB 2023-04-25 02:13:17 +02:00 committed by GitHub
parent 8fb03c885c
commit 6bf175f066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ USER pleroma
WORKDIR /pleroma
RUN git clone -b develop https://git.pleroma.social/pleroma/pleroma.git /pleroma \
&& git checkout ${PLEROMA_VER}
&& git checkout $(git tag --contains | tail -1)
RUN echo "import Mix.Config" > config/prod.secret.exs \
&& mix local.hex --force \