From f0979b6b8c5cf910890a3d4f3f8ee021bc1d97a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Ralph?= Date: Sat, 8 Apr 2023 15:29:09 -0300 Subject: [PATCH] use latest tag instead of latest commit --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 6eaf8c2..f1d8c6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,8 @@ RUN git clone https://github.com/geoffrey45/swing-client.git client WORKDIR /client +RUN git checkout $(git describe --tags $(git rev-list --tags --max-count=1)) + RUN yarn install RUN yarn build