fix sed
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
yc
2025-11-12 10:16:36 +01:00
parent 27379cb392
commit 25184deecb

View File

@@ -40,9 +40,8 @@ RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 bee pack
# unpack bee's tarball # unpack bee's tarball
RUN mkdir -p /app/extracted && \ RUN mkdir -p /app/extracted && \
tar -zxvf oc-discovery.tar.gz -C /app/extracted && \ tar -zxvf oc-discovery.tar.gz -C /app/extracted
sed -i 's#http://127.0.0.1:8080/swagger/swagger.json#swagger.json#g' \ #&& \ sed -i 's#http://127.0.0.1:8080/swagger/swagger.json#swagger.json#g' /app/extracted/swagger/index.html
/app/extracted/swagger/index.html
# -------------------- final image -------------------- # -------------------- final image --------------------
FROM scratch FROM scratch