From 795005fcec8389075851fc264c9e1e676c75e802 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 20 Apr 2022 14:37:43 -0700 Subject: [PATCH] Use tag for images. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c98ee8..e8446a8 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ hugo --minify To build the Dockerfile, run this command: ```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.