pull/429/head
Hunter Long 2020-03-05 13:19:28 -08:00
parent db84aa0fbb
commit 86b1b4be27
2 changed files with 5 additions and 4 deletions

View File

@ -52,7 +52,7 @@ compose-build-full: docker-base
docker-compose -f docker-compose.yml -f dev/docker-compose.full.yml build --parallel --build-arg VERSION=${VERSION}
docker-base:
docker build -t hunterlong/statping:base -f Dockerfile.base --build-arg VERSION=${VERSION} .
docker build -t hunterlong/statping:base -f Dockerfile.base --no-cache --build-arg VERSION=${VERSION} .
docker-latest: docker-base
docker build -t hunterlong/statping:latest --build-arg VERSION=${VERSION} .
@ -60,7 +60,7 @@ docker-latest: docker-base
docker-vue:
docker build -t hunterlong/statping:vue --build-arg VERSION=${VERSION} .
push-vue: clean compile docker-base docker-vue
push-vue: clean docker-base docker-vue
docker push hunterlong/statping:base
docker push hunterlong/statping:vue

View File

@ -36,8 +36,9 @@ var (
// Assets will load the Rice boxes containing the CSS, SCSS, JS, and HTML files.
func Assets() error {
TmplBox = rice.MustFindBox("dist")
return nil
var err error
TmplBox, err = rice.FindBox("dist")
return err
}
// HelpMarkdown will return the Markdown of help.md into HTML