Browse Source

Enable content trust when building image (#2972)

Piotr Orzechowski 1 year ago
parent
commit
7bab3d2fb1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docker/Makefile

+ 1 - 1
docker/Makefile

@@ -8,4 +8,4 @@ DOCKER_REF := $(DOCKER_IMAGE):$(DOCKER_TAG)
8 8
 .PHONY: docker
9 9
 docker:
10 10
 	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
11
-	docker build -t $(DOCKER_REF) .
11
+	docker build --disable-content-trust=false -t $(DOCKER_REF) .