Use tag for images.
This commit is contained in:
parent
f478de7856
commit
795005fcec
@ -21,7 +21,7 @@ hugo --minify
|
|||||||
|
|
||||||
To build the Dockerfile, run this command:
|
To build the Dockerfile, run this command:
|
||||||
```shell script
|
```shell script
|
||||||
docker build --no-cache -f Dockerfile.prod -t docker.simplesystems.tech/simplesystems/website:latest . && docker push docker.simplesystems.tech/simplesystems/website
|
TAG="$(date -u +%Y-%m-%d_%H%M%S)" ; docker build --no-cache -f Dockerfile.prod -t docker.simplesystems.tech/simplesystems/website:$TAG . && docker push docker.simplesystems.tech/simplesystems/website:$TAG
|
||||||
```
|
```
|
||||||
|
|
||||||
The resources will be stored in the `./public` directory.
|
The resources will be stored in the `./public` directory.
|
||||||
|
Loading…
Reference in New Issue
Block a user