Changing image name to plugins/hugo

This commit is contained in:
cbrgm 2018-05-07 10:15:35 +02:00
commit d2e051cd74
3 changed files with 28 additions and 28 deletions

View file

@ -5,15 +5,15 @@ README_TEMPLATE=./docs/tmpl.md
all: release
test: Dockerfile drone-hugo.sh
docker build -t "drone-plugins/drone-hugo:$(hugo)_test" --build-arg HUGO_VERSION="$(hugo)" .
docker build -t "plugins/hugo:$(hugo)_test" --build-arg HUGO_VERSION="$(hugo)" .
build: Dockerfile drone-hugo.sh
docker build -t "drone-plugins/drone-hugo:$(hugo)" --build-arg HUGO_VERSION="$(hugo)" .
docker build -t "drone-plugins/drone-hugo:latest" --build-arg HUGO_VERSION="$(hugo)" .
docker build -t "plugins/hugo:$(hugo)" --build-arg HUGO_VERSION="$(hugo)" .
docker build -t "plugins/hugo:latest" --build-arg HUGO_VERSION="$(hugo)" .
push: build
docker push "drone-plugins/drone-hugo:$(hugo)"
docker push "drone-plugins/drone-hugo:latest"
docker push "plugins/hugo:$(hugo)"
docker push "plugins/hugo:latest"
release: $(README_TEMPLATE) test build push clean
sed 's/<HUGO_VERSION>/$(hugo)/g' $(README_TEMPLATE) > README.md
@ -22,6 +22,6 @@ release: $(README_TEMPLATE) test build push clean
git push origin master
clean:
docker rmi drone-plugins/drone-hugo:$(hugo)
docker rmi drone-plugins/drone-hugo:latest
docker rmi drone-plugins/drone-hugo:$(hugo)_test
docker rmi plugins/hugo:$(hugo)
docker rmi plugins/hugo:latest
docker rmi plugins/hugo:$(hugo)_test