Skip to content

Commit

Permalink
added artifactory cleanu labels
Browse files Browse the repository at this point in the history
  • Loading branch information
ytqsl committed Jan 18, 2024
1 parent bce81c3 commit e836e4d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/dynamics.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ COPY . .
RUN dotnet publish "Spd.Presentation.Dynamics/Spd.Presentation.Dynamics.csproj" -c Release -o /app/publish --no-restore

FROM registry.access.redhat.com/ubi8/dotnet-80-runtime:8.0 AS final

# artifactory self cleanup
LABEL com.jfrog.artifactory.retention.maxCount="5"
LABEL com.jfrog.artifactory.retention.maxDays="7"
LABEL com.jfrog.artifactory.retention.byDownloadDate=true

WORKDIR /app
EXPOSE 8080

Expand Down
6 changes: 6 additions & 0 deletions src/licensing-portal.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ RUN npm run lint
RUN npm run build -- --configuration production

FROM registry.access.redhat.com/ubi8/dotnet-80-runtime:8.0 AS final

# artifactory self cleanup
LABEL com.jfrog.artifactory.retention.maxCount="5"
LABEL com.jfrog.artifactory.retention.maxDays="7"
LABEL com.jfrog.artifactory.retention.byDownloadDate=true

WORKDIR /app
EXPOSE 8080

Expand Down

0 comments on commit e836e4d

Please sign in to comment.