Refactor Dockerfile and build.yaml to include CREATED_AT in build args and update label formatting
Some checks failed
Building and publishing Homebrewery as Docker Image / build (release) Failing after 9m49s
Some checks failed
Building and publishing Homebrewery as Docker Image / build (release) Failing after 9m49s
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -24,14 +24,14 @@ ARG VERSION
|
||||
ARG REVISION
|
||||
ARG CREATED_AT
|
||||
|
||||
LABEL org.opencontainers.image.authors=F.Weber <kosmos@morlana.net>
|
||||
LABEL org.opencontainers.image.url=https://git.morlana.online/f.weber/homebrewery-docker/src/branch/main/README.md
|
||||
LABEL org.opencontainers.image.documentation=https://git.morlana.online/f.weber/homebrewery-docker/src/branch/main/README.md
|
||||
LABEL org.opencontainers.image.source=https://git.morlana.online/f.weber/homebrewery-docker
|
||||
LABEL org.opencontainers.image.version=${VERSION}
|
||||
LABEL org.opencontainers.image.revision=${REVISION}
|
||||
LABEL org.opencontainers.image.licenses=MIT
|
||||
LABEL org.opencontainers.image.created=${CREATED_AT}
|
||||
LABEL org.opencontainers.image.authors="F.Weber <kosmos@morlana.net>"
|
||||
LABEL org.opencontainers.image.url="https://git.morlana.online/f.weber/homebrewery-docker/src/branch/main/README.md"
|
||||
LABEL org.opencontainers.image.documentation="https://git.morlana.online/f.weber/homebrewery-docker/src/branch/main/README.md"
|
||||
LABEL org.opencontainers.image.source="https://git.morlana.online/f.weber/homebrewery-docker"
|
||||
LABEL org.opencontainers.image.version="${VERSION}"
|
||||
LABEL org.opencontainers.image.revision="${REVISION}"
|
||||
LABEL org.opencontainers.image.licenses="MIT"
|
||||
LABEL org.opencontainers.image.created="${CREATED_AT}"
|
||||
|
||||
# Defining env variables for homebrewery
|
||||
ENV HB_HOST=homebrewery.local.naturalcrit.com:8000 HB_NATURALCRIT_URL=local.naturalcrit.com:8010 HB_SECRET=secret PORT=8000 HB_ENABLE_V3=true HB_ENABLE_THEMES=true HB_LOCAL_ENVIRONMENTS=docker,local HB_PUBLIC_URL=https://homebrewery.naturalcrit.com
|
||||
|
||||
Reference in New Issue
Block a user