diff --git a/.gitea/workflows/container-image.yml b/.gitea/workflows/container-image.yml index f15f1aa..f46b83f 100644 --- a/.gitea/workflows/container-image.yml +++ b/.gitea/workflows/container-image.yml @@ -10,7 +10,7 @@ on: env: REGISTRY: harbor.mukan.0am.jp - IMAGE_NAME: harbor.mukan.0am.jp/services/email-to-discord + IMAGE_NAME: harbor.mukan.0am.jp/knative-func/email-to-discord permissions: contents: read diff --git a/README.md b/README.md index 25f599f..8bb6f46 100644 --- a/README.md +++ b/README.md @@ -85,8 +85,8 @@ cp .env.example .env `container_tools` はイメージをビルドせず、レジストリからpullして起動します。このリポジトリでは、`main` へのpush時にGitea Actionsが次のイメージをHarborへ公開します。 ```text -harbor.mukan.0am.jp/services/email-to-discord: -harbor.mukan.0am.jp/services/email-to-discord:latest +harbor.mukan.0am.jp/knative-func/email-to-discord: +harbor.mukan.0am.jp/knative-func/email-to-discord:latest ``` ### 1. Gitea Actions Secretsの設定 diff --git a/docker-compose.yml b/docker-compose.yml index fcb8f1d..7348fc3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: email-to-discord: - image: harbor.mukan.0am.jp/services/email-to-discord:latest + image: harbor.mukan.0am.jp/knative-func/email-to-discord:latest restart: unless-stopped extra_hosts: - "host.docker.internal:host-gateway" diff --git a/tests/test_deployment.py b/tests/test_deployment.py index c1674ca..4699284 100644 --- a/tests/test_deployment.py +++ b/tests/test_deployment.py @@ -11,7 +11,7 @@ class ContainerToolsDeploymentTests(unittest.TestCase): compose = (REPOSITORY_ROOT / "docker-compose.yml").read_text(encoding="utf-8") self.assertIn( - "image: harbor.mukan.0am.jp/services/email-to-discord:latest", + "image: harbor.mukan.0am.jp/knative-func/email-to-discord:latest", compose, ) self.assertIn("host.docker.internal:host-gateway", compose)