Skip to content

Commit

Permalink
Tester mer i pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
toresbe committed Nov 26, 2024
1 parent 82198d0 commit bfe0a3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ COPY --from=builder /app/build/static static
# Make the script executable
RUN chmod +x /app/uploadStaticToCdn.sh

RUN --mount=type=secret,id=NAIS_WORKLOAD_IDENTITY_PROVIDER \
NAIS_WORKLOAD_IDENTITY_PROVIDER=$(cat /run/secrets/NAIS_WORKLOAD_IDENTITY_PROVIDER) \
RUN --mount=type=secret,id=NAIS_WORKLOAD_IDENTITY_PROVIDER NAIS_WORKLOAD_IDENTITY_PROVIDER=$(cat /run/secrets/NAIS_WORKLOAD_IDENTITY_PROVIDER) \
/app/uploadStaticToCdn.sh $NAIS_MANAGEMENT_PROJECT_ID

FROM gcr.io/distroless/nodejs22-debian12 AS runner
Expand Down

0 comments on commit bfe0a3a

Please sign in to comment.