Use known own-registry immutable nginx base after Docker Hub TLS timeout

This commit is contained in:
huncode committed 2026-10-26 20:06:36 +03:00
1 parent 419520e44f
commit f3c197d76f
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -147,7 +147,7 @@ jobs:
shell: bash
run: |
set -euo pipefail
docker build --pull --platform linux/amd64 --label "org.opencontainers.image.revision=${REVIEWED_SOURCE_COMMIT}" --label "me.videoreg.export-sha256=${REVIEWED_EXPORT_SHA}" --label "me.videoreg.delivery-commit=${GITHUB_SHA}" --label "me.videoreg.scope=reviewed-corpus-only" --tag "${IMAGE}" .
docker build --pull --platform linux/amd64 --build-arg BASE_IMAGE=git.pryanik.synology.me/huncode/videoreg.ru:9b5b080e6019@sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e --label "org.opencontainers.image.revision=${REVIEWED_SOURCE_COMMIT}" --label "me.videoreg.export-sha256=${REVIEWED_EXPORT_SHA}" --label "me.videoreg.delivery-commit=${GITHUB_SHA}" --label "me.videoreg.scope=reviewed-corpus-only" --tag "${IMAGE}" .
test "$(docker image inspect "$IMAGE" --format '{{.Architecture}}')" = amd64
docker run --rm --entrypoint nginx "$IMAGE" -t
cid=$(docker create "$IMAGE")
+2 -1
View File
@@ -1,4 +1,5 @@
FROM nginx:1.28-alpine
ARG BASE_IMAGE=nginx:1.28-alpine
FROM ${BASE_IMAGE}
RUN rm -rf /usr/share/nginx/html
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
COPY deploy/legacy-map.conf /etc/nginx/conf.d/00-videoreg-legacy.conf
+2 -1
View File
@@ -7,7 +7,8 @@ COPY tsconfig.json vitest.config.ts ./
COPY web-front web-front
COPY ingestion ingestion
RUN npm run build
FROM nginx:1.28-alpine
ARG BASE_IMAGE=nginx:1.28-alpine
FROM ${BASE_IMAGE}
RUN rm -rf /usr/share/nginx/html
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
COPY deploy/legacy-map.conf /etc/nginx/conf.d/00-videoreg-legacy.conf