File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,14 @@ jobs:
143143 - *save_build_cache
144144 - run : yarn build-ci
145145
146+ build-docker-image :
147+ << : *defaults-release
148+ steps :
149+ - checkout
150+ - run :
151+ name : Build the docker image
152+ command : docker build --pull .
153+
146154 build-blog-utils :
147155 << : *defaults
148156 steps :
@@ -356,6 +364,12 @@ workflows:
356364 default-workflow :
357365 jobs :
358366 - build
367+ - build-docker-image :
368+ filters :
369+ branches :
370+ ignore : master
371+ tags :
372+ ignore : /.*/
359373 - test
360374 - build-next
361375 - test-next
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ FROM node:18.19-slim AS builder
66WORKDIR /srv/node
77COPY package.json yarn.lock /srv/node/
88
9+ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates git && rm -rf /var/lib/apt/lists/
910RUN yarn install --pure-lockfile
1011
1112#
You can’t perform that action at this time.
0 commit comments