File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ help: ## - Show help message
10
10
.PHONY : build
11
11
build : # # - Build the smallest and secured golang docker image based on scratch
12
12
@printf " \033[32m\xE2\x9c\x93 Build the smallest and secured golang docker image based on scratch\n\033[0m"
13
- @docker build -f Dockerfile -t smallest-secured-golang .
13
+ @export DOCKER_CONTENT_TRUST=1 && docker build -f Dockerfile -t smallest-secured-golang .
14
14
15
15
.PHONY : build-no-cache
16
16
build-no-cache : # # - Build the smallest and secured golang docker image based on scratch with no cache
17
17
@printf " \033[32m\xE2\x9c\x93 Build the smallest and secured golang docker image based on scratch\n\033[0m"
18
- @docker build --no-cache -f Dockerfile -t smallest-secured-golang .
18
+ @export DOCKER_CONTENT_TRUST=1 && docker build --no-cache -f Dockerfile -t smallest-secured-golang .
19
19
20
20
.PHONY : ls
21
21
ls : # # - List 'smallest-secured-golang' docker images
You can’t perform that action at this time.
0 commit comments