Automate Gitea Docker image publishing
Build and publish Docker image / build-and-publish (push) Failing after 2s
Build and publish Docker image / build-and-publish (push) Failing after 2s
This commit is contained in:
1 parent
2d61d80550
commit
1026b1ba33
3 files changed
+64
No files matched your search
@@ -14,3 +14,9 @@ React single-page application for the AnchorHost.eu hosting platform. The app so
|
||||
## Rebrand the deployment
|
||||
|
||||
Edit the root `branding.json` to set the product name, domain, logo path, public copy, contact addresses, documentation and source links, and footer credit. Replace the logo file at the configured path under `public/`. The app imports this file for its UI, API defaults, document metadata, and web app manifest. Keep `.env` API and WebSocket overrides for deployments whose service endpoints differ from the public brand domain.
|
||||
|
||||
## Gitea Actions Docker publishing
|
||||
|
||||
`.gitea/workflows/docker.yml` builds the Docker image when `main` is updated and can also be started manually from the Actions page. It publishes `git.anchorhost.eu/anchorhost.eu/anchorhost-frontend:main-latest` and a commit-specific `main-<12 character SHA>` tag to the Gitea Container Registry. The workflow uses Gitea's job token with only `contents: read` and `packages: write`; no registry password secret is needed.
|
||||
|
||||
Enable Actions and the Container Registry for the repository, and register an `ubuntu-latest` runner that has the Docker CLI and access to a working Docker daemon. The workflow cannot build until that runner is available. `.dockerignore` keeps local dependencies, Git history, build output, and recovered production artifacts out of the build context.
|
||||
Reference in new issue
Block a user