DEV: release Makefile target and documentation
This commit is contained in:
parent
aba7b4f458
commit
694a442d45
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
14
README.md
14
README.md
|
@ -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.)
|
||||
|
|
Loading…
Reference in New Issue