Use tag for images.

This commit is contained in:
jeff 2022-04-20 14:37:43 -07:00
parent f478de7856
commit 795005fcec

View File

@ -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.