Skip to content

Commit

Permalink
feature: add dd_version to all image builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dhenkel92 committed May 4, 2024
1 parent 5fb128b commit 75fab85
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions async-server-provisioner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ARG DD_GIT_REPOSITORY_URL
ARG DD_GIT_COMMIT_SHA
ENV DD_GIT_REPOSITORY_URL=${DD_GIT_REPOSITORY_URL}
ENV DD_GIT_COMMIT_SHA=${DD_GIT_COMMIT_SHA}
ENV DD_VERSION=${DD_GIT_COMMIT_SHA}

ENV NODE_ENV=production
WORKDIR /usr/src/app
Expand Down
1 change: 1 addition & 0 deletions backend/Dockerfile-prod-be
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ARG DD_GIT_REPOSITORY_URL
ARG DD_GIT_COMMIT_SHA
ENV DD_GIT_REPOSITORY_URL=${DD_GIT_REPOSITORY_URL}
ENV DD_GIT_COMMIT_SHA=${DD_GIT_COMMIT_SHA}
ENV DD_VERSION=${DD_GIT_COMMIT_SHA}

WORKDIR /usr/src/app

Expand Down
1 change: 1 addition & 0 deletions backend/Dockerfile-prod-fe
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ ARG DD_GIT_REPOSITORY_URL
ARG DD_GIT_COMMIT_SHA
ENV DD_GIT_REPOSITORY_URL=${DD_GIT_REPOSITORY_URL}
ENV DD_GIT_COMMIT_SHA=${DD_GIT_COMMIT_SHA}
ENV DD_VERSION=${DD_GIT_COMMIT_SHA}

RUN rm -Rf /usr/share/nginx/*

Expand Down
1 change: 1 addition & 0 deletions react-frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ARG DD_GIT_REPOSITORY_URL
ARG DD_GIT_COMMIT_SHA
ENV DD_GIT_REPOSITORY_URL=${DD_GIT_REPOSITORY_URL}
ENV DD_GIT_COMMIT_SHA=${DD_GIT_COMMIT_SHA}
ENV DD_VERSION=${DD_GIT_COMMIT_SHA}

RUN rm -Rf /usr/share/nginx/*

Expand Down

0 comments on commit 75fab85

Please sign in to comment.