Skip to content

Commit

Permalink
Merge pull request #2 from codecentric/122-use-github-docker-images
Browse files Browse the repository at this point in the history
Switch container references from Dockerhub to GHCR
  • Loading branch information
romansey authored Mar 25, 2022
2 parents 19b9ffb + 0ade3e4 commit a1b7e6d
Show file tree
Hide file tree
Showing 17 changed files with 158 additions and 158 deletions.
10 changes: 5 additions & 5 deletions infrastructure/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
networks:
- habitcentric-net
gateway:
image: habitcentric/gateway
image: ghcr.io/codecentric/habitcentric/gateway
environment:
AUTH_TYPE: OAUTH_2_LOGIN
AUTH_URI: http://habitcentric.demo:8080
Expand All @@ -51,7 +51,7 @@ services:
networks:
- habitcentric-net
habit:
image: habitcentric/habit
image: ghcr.io/codecentric/habitcentric/habit
depends_on:
- habit-db
environment:
Expand All @@ -67,7 +67,7 @@ services:
networks:
- habitcentric-net
track:
image: habitcentric/track
image: ghcr.io/codecentric/habitcentric/track
depends_on:
- track-db
environment:
Expand All @@ -83,14 +83,14 @@ services:
networks:
- habitcentric-net
report:
image: habitcentric/report
image: ghcr.io/codecentric/habitcentric/report
environment:
HABIT_SERVICE_URL: http://habit:9001
TRACK_SERVICE_URL: http://track:9002
networks:
- habitcentric-net
ui:
image: habitcentric/ui
image: ghcr.io/codecentric/habitcentric/ui
environment:
HABIT_SERVICE_HOST: http://localhost:9000/
TRACKING_SERVICE_HOST: http://localhost:9000/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
fullnameOverride: gateway

image:
registry: docker.io
repository: habitcentric/gateway
registry: ghcr.io
repository: codecentric/habitcentric/gateway
tag: latest
pullPolicy: Always

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ init:
pullPolicy: IfNotPresent

image:
registry: docker.io
repository: habitcentric/habit
registry: ghcr.io
repository: codecentric/habitcentric/habit
tag: latest
## Specifies a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ stable:
{{- end }}

image:
registry: docker.io
repository: habitcentric/report
registry: ghcr.io
repository: codecentric/habitcentric/report
tag: latest
## Specifies an imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand Down Expand Up @@ -52,8 +52,8 @@ canary:
{{- end }}

image:
registry: docker.io
repository: habitcentric/report
registry: ghcr.io
repository: codecentric/habitcentric/report
tag: latest
## Specifies an imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ init:
pullPolicy: IfNotPresent

image:
registry: docker.io
repository: habitcentric/track
registry: ghcr.io
repository: codecentric/habitcentric/track
tag: latest
## Specifies a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fullnameOverride: ui
image:
registry: docker.io
repository: habitcentric/ui
registry: ghcr.io
repository: codecentric/habitcentric/ui
tag: latest
## Specifies a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand Down
8 changes: 4 additions & 4 deletions services/gateway/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ services:
networks:
- habitcentric-net
habit:
image: habitcentric/habit
image: ghcr.io/codecentric/habitcentric/habit
depends_on:
- habit-db
environment:
Expand All @@ -67,7 +67,7 @@ services:
networks:
- habitcentric-net
track:
image: habitcentric/track
image: ghcr.io/codecentric/habitcentric/track
depends_on:
- track-db
environment:
Expand All @@ -83,14 +83,14 @@ services:
networks:
- habitcentric-net
report:
image: habitcentric/report
image: ghcr.io/codecentric/habitcentric/report
environment:
HABIT_SERVICE_URL: http://habit:9001
TRACK_SERVICE_URL: http://track:9002
networks:
- habitcentric-net
ui:
image: habitcentric/ui
image: ghcr.io/codecentric/habitcentric/ui
environment:
HABIT_SERVICE_HOST: http://localhost:9000/
TRACKING_SERVICE_HOST: http://localhost:9000/
Expand Down
4 changes: 2 additions & 2 deletions services/gateway/helm/gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ default values.
|--------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------|
| `appVersionOverride` | Overrides value of `app.kubernetes.io/version` label | `nil` |
| `global.imageRegistry` | Global Docker image registry | `nil` |
| `image.registry` | habitcentric gateway image registry | `docker.io` |
| `image.repository` | habitcentric gateway image name | `habitcentric/gateway` |
| `image.registry` | habitcentric gateway image registry | `ghcr.io` |
| `image.repository` | habitcentric gateway image name | `codecentric/habitcentric/gateway` |
| `image.tag` | habitcentric gateway image tag | `latest` |
| `image.pullPolicy` | habitcentric gateway pull policy | `Always` |
| `service.type` | The service type | `NodePort` |
Expand Down
4 changes: 2 additions & 2 deletions services/gateway/helm/gateway/values.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# appVersionOverride:

image:
registry: docker.io
repository: habitcentric/gateway
registry: ghcr.io
repository: codecentric/habitcentric/gateway
tag: latest
## Specifies an imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand Down
Loading

0 comments on commit a1b7e6d

Please sign in to comment.