From 7bab3d2fb1d75ac29ad6a9b11203ea358b1979d3 Mon Sep 17 00:00:00 2001 From: Piotr Orzechowski Date: Sun, 3 Dec 2017 11:21:10 +0100 Subject: [PATCH] Enable content trust when building image (#2972) --- docker/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Makefile b/docker/Makefile index 08e0b43849..a816a2e44f 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -8,4 +8,4 @@ DOCKER_REF := $(DOCKER_IMAGE):$(DOCKER_TAG) .PHONY: docker docker: docker run -ti --rm -v $(CURDIR):/srv/app/src/code.gitea.io/gitea -w /srv/app/src/code.gitea.io/gitea -e TAGS="bindata $(TAGS)" webhippie/golang:edge make clean generate build - docker build -t $(DOCKER_REF) . + docker build --disable-content-trust=false -t $(DOCKER_REF) .