DEV: release Makefile target and documentation

This commit is contained in:
Andrew Schleifer 2022-04-06 14:06:08 +00:00
parent aba7b4f458
commit 694a442d45
No known key found for this signature in database
GPG Key ID: 466527405160A337
2 changed files with 19 additions and 0 deletions

View File

@ -12,3 +12,8 @@ push: build
.PHONY: build
build:
docker build --pull -t ${IMAGE}:${TAG} .
.PHONY: release
release:
docker tag ${IMAGE}:${TAG} ${IMAGE}:latest
docker push ${IMAGE}:latest

View File

@ -54,3 +54,17 @@ docker run discourse/auth-proxy
```
Running will display configuration instructions
You may build an image using
```
make build
```
After building, you may publish it as a new release -- i.e. `latest` tag -- using
```
make release TAG=20220406.135620
```
(Replace with the actual built tag.)