build: bind candidate identity to images
ci / verify (push) Canceled after 0s

This commit is contained in:
Codex Local
2026-08-26 06:57:12 +08:00
parent 29bdf4900f
commit e8a6122bd6
8 changed files with 71 additions and 22 deletions
+6
View File
@@ -7,6 +7,12 @@ COPY web ./
RUN npm run generate:api && npm run build
FROM nginxinc/nginx-unprivileged:1.30.4-alpine
ARG VERSION=dev
ARG COMMIT=unknown
ARG BUILD_TIME=unknown
LABEL org.opencontainers.image.version="${VERSION}" \
org.opencontainers.image.revision="${COMMIT}" \
org.opencontainers.image.created="${BUILD_TIME}"
USER root
RUN apk upgrade --no-cache
COPY --chown=101:101 deploy/web.nginx.conf /etc/nginx/conf.d/default.conf