chore: add DEPLOY_TIMESTAMP build arg for cache busting
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build
|
FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build
|
||||||
|
ARG DEPLOY_TIMESTAMP
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY Nexus.Api.csproj .
|
COPY Nexus.Api.csproj .
|
||||||
# cache-bust: 2026-06-22T19:56+02
|
# cache-bust: 2026-06-22T19:56+02
|
||||||
|
|||||||
@@ -33,6 +33,8 @@ services:
|
|||||||
api:
|
api:
|
||||||
build:
|
build:
|
||||||
context: ./backend
|
context: ./backend
|
||||||
|
args:
|
||||||
|
DEPLOY_TIMESTAMP: "20260622195600"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
Generated
+3088
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user