fix: add --no-cache to deploy-now build step; revert temp cache bust changes
CI - Build & Test / Backend (.NET) (push) Successful in 34s
CI - Build & Test / Frontend (Vue/TS) (push) Successful in 16s
CI - Build & Test / Security Check (push) Successful in 3s

This commit is contained in:
2026-06-22 20:10:04 +02:00
parent 2aa41e6366
commit dd17cefa3b
3 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ jobs:
printf 'fi\n' >> "$SCRIPT"
printf '\n' >> "$SCRIPT"
printf 'echo "Deploying all services"\n' >> "$SCRIPT"
printf 'docker compose --env-file /tmp/nexus-deploy-env build\n' >> "$SCRIPT"
printf 'docker compose --env-file /tmp/nexus-deploy-env build --no-cache\n' >> "$SCRIPT"
printf 'docker compose --env-file /tmp/nexus-deploy-env up -d --force-recreate\n' >> "$SCRIPT"
printf '\n' >> "$SCRIPT"
printf 'echo "Waiting for services to become healthy (up to 180s)..."\n' >> "$SCRIPT"
-2
View File
@@ -1,8 +1,6 @@
FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build
ARG DEPLOY_TIMESTAMP
WORKDIR /src
COPY Nexus.Api.csproj .
# cache-bust: 2026-06-22T19:56+02
RUN dotnet restore
COPY . .
RUN dotnet publish -c Release -o /app/publish
-2
View File
@@ -33,8 +33,6 @@ services:
api:
build:
context: ./backend
args:
DEPLOY_TIMESTAMP: "20260622195600"
restart: unless-stopped
deploy:
resources: