Răsfoiți Sursa

Updated build pipeline

Tim Jones 1 lună în urmă
părinte
comite
84c28e5ebc
4 a modificat fișierele cu 4 adăugiri și 3 ștergeri
  1. 1 2
      .github/workflows/publish.yml
  2. 1 0
      RackPeek.Web/Dockerfile
  3. 1 0
      Shared.Rcl/CliBootstrap.cs
  4. 1 1
      notes.md

+ 1 - 2
.github/workflows/publish.yml

@@ -6,7 +6,7 @@ on:
       version:
         description: "RackPeek version (e.g. 0.1.0)"
         required: true
-        default: "0.0.1"
+        default: "0.0.3"
 
 permissions:
   contents: write
@@ -56,7 +56,6 @@ jobs:
               -r "$PLATFORM" \
               --self-contained true \
               -p:PublishSingleFile=true \
-              -p:PublishTrimmed=true \
               -o "$PUBLISH_DIR"
 
             if [[ "$PLATFORM" == win-* ]]; then

+ 1 - 0
RackPeek.Web/Dockerfile

@@ -9,6 +9,7 @@ ARG BUILD_CONFIGURATION=Release
 WORKDIR /src
 COPY ["RackPeek.Web/RackPeek.Web.csproj", "RackPeek.Web/"]
 COPY ["RackPeek.Domain/RackPeek.Domain.csproj", "RackPeek.Domain/"]
+COPY ["Shared.Rcl/Shared.Rcl.csproj", "Shared.Rcl/"]
 COPY ["RackPeek/RackPeek.csproj", "RackPeek/"]
 RUN dotnet restore "RackPeek.Web/RackPeek.Web.csproj"
 COPY . .

+ 1 - 0
Shared.Rcl/CliBootstrap.cs

@@ -76,6 +76,7 @@ public static class CliBootstrap
         {
             config.SetApplicationName("rpk");
             config.ValidateExamples();
+            config.SetApplicationVersion("0.0.3");
 
             config.SetExceptionHandler(HandleException);
 

+ 1 - 1
notes.md

@@ -28,7 +28,7 @@ chmod +x webui_capture.sh
 docker buildx build \
   --platform linux/amd64,linux/arm64 \
   -f ./Dockerfile \
-  -t aptacode/rackpeek:v0.0.2 \
+  -t aptacode/rackpeek:v0.0.3 \
   -t aptacode/rackpeek:latest \
   --push ..