diff options
author | Piotr Orzechowski <tech@orzechowski.hub.pl> | 2017-12-03 11:21:10 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-12-03 18:21:10 +0800 |
commit | 7bab3d2fb1d75ac29ad6a9b11203ea358b1979d3 (patch) | |
tree | 93bf158fc9d6213a9a4230ddd6c173ccdcf1f1c6 /docker | |
parent | 6d99840d1f70a0fb9eb629a1afe1ef1d334f6fbe (diff) | |
download | gitea-7bab3d2fb1d75ac29ad6a9b11203ea358b1979d3.tar.gz gitea-7bab3d2fb1d75ac29ad6a9b11203ea358b1979d3.zip |
Enable content trust when building image (#2972)
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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) . |