rename image to interval-viz
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,7 +13,7 @@ jobs:
|
|||||||
uses: traberph/ci/.gitea/workflows/image.yaml@main
|
uses: traberph/ci/.gitea/workflows/image.yaml@main
|
||||||
with:
|
with:
|
||||||
project: public
|
project: public
|
||||||
image: interval_viz
|
image: interval-viz
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
secrets:
|
secrets:
|
||||||
registry-username: ${{ secrets.REGISTRY_USERNAME }}
|
registry-username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
|
|||||||
@@ -60,8 +60,8 @@ Only the `state` and `last_changed` columns are used; column order doesn't matte
|
|||||||
## Container
|
## Container
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker build -t interval_viz .
|
docker build -t interval-viz .
|
||||||
docker run -p 8080:80 -e BASIC_AUTH_USER=admin -e BASIC_AUTH_PASSWORD='…' interval_viz
|
docker run -p 8080:80 -e BASIC_AUTH_USER=admin -e BASIC_AUTH_PASSWORD='…' interval-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
| Variable | Meaning |
|
| Variable | Meaning |
|
||||||
@@ -94,7 +94,7 @@ credentials are set in `docker-compose.yml`. The host port can be changed with
|
|||||||
|
|
||||||
`.gitea/workflows/docker.yml` builds the image (`linux/amd64`, `linux/arm64`) with the
|
`.gitea/workflows/docker.yml` builds the image (`linux/amd64`, `linux/arm64`) with the
|
||||||
shared [`traberph/ci`](https://git.traberph.de/traberph/ci) image workflow and pushes it
|
shared [`traberph/ci`](https://git.traberph.de/traberph/ci) image workflow and pushes it
|
||||||
to the Harbor registry as `registry.traberph.de/public/interval_viz`.
|
to the Harbor registry as `registry.traberph.de/public/interval-viz`.
|
||||||
|
|
||||||
| Trigger | Tags pushed |
|
| Trigger | Tags pushed |
|
||||||
|--------------------|------------------------------------------------------|
|
|--------------------|------------------------------------------------------|
|
||||||
@@ -107,7 +107,7 @@ The timestamp tags sort by build time. Flux image automation picks the newest on
|
|||||||
this filter: `pattern: '^(?P<ts>[0-9]{14})-[a-f0-9]{7}$'`, `extract: '$ts'`, `numerical: asc`.
|
this filter: `pattern: '^(?P<ts>[0-9]{14})-[a-f0-9]{7}$'`, `extract: '$ts'`, `numerical: asc`.
|
||||||
|
|
||||||
With the `DOCKERHUB_USERNAME` and `DOCKERHUB_TOKEN` secrets set, the same tags are also
|
With the `DOCKERHUB_USERNAME` and `DOCKERHUB_TOKEN` secrets set, the same tags are also
|
||||||
pushed to `docker.io/<DOCKERHUB_USERNAME>/interval_viz`.
|
pushed to `docker.io/<DOCKERHUB_USERNAME>/interval-viz`.
|
||||||
|
|
||||||
Old tags are cleaned up by a tag retention policy in Harbor, not by this workflow.
|
Old tags are cleaned up by a tag retention policy in Harbor, not by this workflow.
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -1,9 +1,9 @@
|
|||||||
name: interval_viz
|
name: interval-viz
|
||||||
|
|
||||||
services:
|
services:
|
||||||
interval_viz:
|
interval-viz:
|
||||||
build: .
|
build: .
|
||||||
image: registry.traberph.de/public/interval_viz:latest
|
image: registry.traberph.de/public/interval-viz:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "${INTERVAL_VIZ_PORT:-8080}:80"
|
- "${INTERVAL_VIZ_PORT:-8080}:80"
|
||||||
|
|||||||
Reference in New Issue
Block a user