build: Allow optional "nodeploy" tag to exclude deploy command from bin

Fixes #7826
This commit is contained in:
Eric Hagman
2020-10-23 03:03:41 -04:00
committed by GitHub
parent 3400aff258
commit f465c5c307
11 changed files with 66 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
FROM golang:1.15-alpine AS build
# Optionally set HUGO_BUILD_TAGS to "extended" when building like so:
# Optionally set HUGO_BUILD_TAGS to "extended" or "nodeploy" when building like so:
# docker build --build-arg HUGO_BUILD_TAGS=extended .
ARG HUGO_BUILD_TAGS