mirror of
https://github.com/fleetbase/fleetbase.git
synced 2025-12-19 22:27:22 +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
|
echo "FLEETBASE_INSTANCE_ID=$FLEETBASE_INSTANCE_ID" >> /etc/environment
|
||||||
|
|
||||||
# Track commit hash
|
# Track commit hash
|
||||||
|
COPY .git /fleetbase/.git
|
||||||
RUN git rev-parse HEAD > /fleetbase/CURRENT_HASH
|
RUN git rev-parse HEAD > /fleetbase/CURRENT_HASH
|
||||||
|
RUN rm -rf .git
|
||||||
|
|
||||||
# Set working directory
|
# Set working directory
|
||||||
WORKDIR /fleetbase/api
|
WORKDIR /fleetbase/api
|
||||||
|
|||||||
Reference in New Issue
Block a user