Browse Source

Update: Show commit version

master
Siroco 6 months ago
parent
commit
f0db472b39
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 1
      Dockerfile

1
Dockerfile

@ -24,6 +24,7 @@ RUN apt-get update && \
RUN COMMIT=`git ls-remote --tags https://framagit.org/les/gancio.git | tail -n1 | cut -f1` && \
VERIFIED=`curl https://framagit.org/api/v4/projects/$GITLAB_PROJECT/repository/commits/$COMMIT/signature | jq '.verification_status'` && \
[ $VERIFIED="verified" ] || exit 1 && \
echo $COMMIT && \
git clone https://framagit.org/les/gancio.git && \
cd gancio && \
git checkout -b $COMMIT

Loading…
Cancel
Save