mirror of
https://github.com/fleetbase/fleetbase.git
synced 2025-12-19 14:18:57 +00:00
attempt to fix current hash check in build
This commit is contained in:
@@ -98,7 +98,9 @@ RUN export FLEETBASE_INSTANCE_ID=$(cat /fleetbase/api/.fleetbase-id) && \
|
||||
echo "FLEETBASE_INSTANCE_ID=$FLEETBASE_INSTANCE_ID" >> /etc/environment
|
||||
|
||||
# Track commit hash
|
||||
COPY .git /fleetbase/.git
|
||||
RUN git rev-parse HEAD > /fleetbase/CURRENT_HASH
|
||||
RUN rm -rf .git
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /fleetbase/api
|
||||
|
||||
Reference in New Issue
Block a user