Skip to content

Commit 203d363

Browse files
author
C Hemidy
authored
Update and rename makefile to Makefile
1 parent d75c033 commit 203d363

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go_module/makefile renamed to go_module/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ help: ## - Show help message
1010
.PHONY: build
1111
build: ## - Build the smallest and secured golang docker image based on scratch
1212
@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 .
1414

1515
.PHONY: build-no-cache
1616
build-no-cache: ## - Build the smallest and secured golang docker image based on scratch with no cache
1717
@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 .
1919

2020
.PHONY: ls
2121
ls: ## - List 'smallest-secured-golang' docker images

0 commit comments

Comments
 (0)