mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
Inject version tag into Docker image
This commit is contained in:
@@ -35,7 +35,8 @@ WORKDIR /code
|
||||
|
||||
CMD ["gunicorn", "-c", "/code/gunicorn.conf.py", "config.wsgi"]
|
||||
|
||||
ENV X_IMAGE_TAG v0.0.0
|
||||
ARG TAG
|
||||
ENV IMAGE_TAG=$TAG
|
||||
|
||||
LABEL Description="Boost.org" Vendor="REVSYS"
|
||||
LABEL Version="${X_IMAGE_TAG}"
|
||||
LABEL Version="${IMAGE_TAG}"
|
||||
|
||||
Reference in New Issue
Block a user