Add Hiyv nginx image and release pipeline
Publish container image / publish (push) Failing after 5m41s

This commit is contained in:
Georgi Manchev
2026-09-29 00:40:39 +03:00
parent 0d459f5ba9
commit 03c0e44e42
7 changed files with 195 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
FROM nginx:1.28-alpine
ARG COMMIT_ID=unknown
LABEL org.opencontainers.image.title="Hiyv nginx" \
org.opencontainers.image.description="Hiyv-branded base nginx image" \
org.opencontainers.image.revision="${COMMIT_ID}" \
org.opencontainers.image.source="https://git.mancheff.com/hiyv-demo/hiyv-nginx"
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
COPY web/ /usr/share/nginx/html/
RUN sed "s|@@COMMIT_ID@@|${COMMIT_ID}|g" \
/usr/share/nginx/html/index.html.template \
> /usr/share/nginx/html/index.html \
&& rm /usr/share/nginx/html/index.html.template
EXPOSE 80
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget -qO- http://127.0.0.1/healthz || exit 1