From 337052d8a5b93842d5310b82c38e413d0cb673ff Mon Sep 17 00:00:00 2001 From: Georgi Manchev Date: Tue, 29 Sep 2026 01:26:40 +0300 Subject: [PATCH] Build from mirrored nginx base image --- Dockerfile | 2 +- README.md | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b6fc41b..98a5cf3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nginx:1.28-alpine +FROM git.mancheff.com/hiyv-demo/nginx-base:1.28-alpine-amd64 ARG COMMIT_ID=unknown diff --git a/README.md b/README.md index 16eb8aa..1c022de 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Git commit used to build the published container. ## Run it ```sh -docker run --rm -p 8080:80 git.mancheff.com/hiyv-demo/hiyv-nginx:1.0.1 +docker run --rm -p 8080:80 git.mancheff.com/hiyv-demo/hiyv-nginx:1.0.2 ``` Open . The health endpoint is available at @@ -32,6 +32,10 @@ The Gitea Actions workflow publishes the following tags for `v1.2.3`: The workflow publishes `linux/amd64` images to `git.mancheff.com/hiyv-demo/hiyv-nginx`. +The pinned upstream nginx base is mirrored at +`git.mancheff.com/hiyv-demo/nginx-base:1.28-alpine-amd64` so the self-hosted +runner does not depend on Docker Hub connectivity during releases. + The repository must define two Actions secrets: `REGISTRY_USERNAME` with the Gitea username and `REGISTRY_TOKEN` with a personal access token that has package write access. Gitea's automatic job token cannot currently publish OCI