chore(docker): digest-pin Hugo build and runtime images
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -1,9 +1,9 @@
|
||||
FROM hugomods/hugo:exts AS build
|
||||
FROM hugomods/hugo:exts@sha256:dcbc5b53c4e53bb74a7c986caf58a3954395a1e9d8dc9bb492f2c610a7cf6eb0 AS build
|
||||
WORKDIR /app
|
||||
|
||||
COPY . /app/
|
||||
# COPY .git /app/.git
|
||||
RUN hugo
|
||||
|
||||
FROM hugomods/hugo:nginx
|
||||
FROM hugomods/hugo:nginx@sha256:945d54d81e27825b2df0cf212f00f90c136bc94273b756734bce81754a336d37
|
||||
COPY --from=build /app/public /site
|
||||
Reference in new issue
Block a user