Add Image Version to Docker-Compose to pull the relevant image (#2740)

This is to address 
- #2733 

Since a lot of times, the only problem is that docker image is not
consistent with the build. We have to somehow incorporate image version
into repository.

I don't insist to provide it this way. Maybe there are other automatic
ways which are better.

We can also calculate the relevant tag from git.
This commit is contained in:
Amir Pourmand 2024-10-23 13:50:41 +03:30 committed by GitHub
parent b3f1968422
commit 6a795aff79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
# this file uses prebuilt image in dockerhub # this file uses prebuilt image in dockerhub
services: services:
jekyll: jekyll:
image: amirpourmand/al-folio:latest image: amirpourmand/al-folio:v0.12.0
build: . build: .
ports: ports:
- 8080:8080 - 8080:8080