Skip to content

Commit 2a49c1a

Browse files
fix(ci): drop duplicate ghcr.io prefix from image names (#726)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent fdff183 commit 2a49c1a

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/build-and-push.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,15 @@ jobs:
6262
strategy:
6363
fail-fast: false
6464
matrix:
65+
# image must be bare (no registry prefix) — the reusable workflow below prepends it.
6566
include:
6667
- name: Webapp
6768
dockerfile: ./standalone/webapp/Dockerfile
68-
image: ghcr.io/ls1intum/apollon/webapp
69+
image: ls1intum/apollon/webapp
6970
context: .
7071
- name: Server
7172
dockerfile: ./standalone/server/Dockerfile
72-
image: ghcr.io/ls1intum/apollon/server
73+
image: ls1intum/apollon/server
7374
context: .
7475
uses: ls1intum/.github/.github/workflows/build-and-push-docker-image.yml@c8ede985ff7999c28d7538cb32ae52bfb83f51b9 # main
7576
with:

.github/workflows/deploy-prod.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
environment: Production
5353
docker-compose-file: "./docker/compose.db.yml"
54-
main-image-name: ghcr.io/ls1intum/apollon/server
54+
main-image-name: ls1intum/apollon/server
5555
image-tag: ${{ inputs.image-tag }}
5656
deployment-base-path: "/opt/apollon/db"
5757
secrets: inherit
@@ -62,7 +62,7 @@ jobs:
6262
with:
6363
environment: Production
6464
docker-compose-file: "./docker/compose.proxy.yml"
65-
main-image-name: ghcr.io/ls1intum/apollon/server
65+
main-image-name: ls1intum/apollon/server
6666
image-tag: ${{ inputs.image-tag }}
6767
deployment-base-path: "/opt/apollon/proxy"
6868
secrets: inherit
@@ -73,7 +73,7 @@ jobs:
7373
with:
7474
environment: Production
7575
docker-compose-file: "./docker/compose.app.yml"
76-
main-image-name: ghcr.io/ls1intum/apollon/server
76+
main-image-name: ls1intum/apollon/server
7777
image-tag: ${{ inputs.image-tag }}
7878
deployment-base-path: "/opt/apollon/app"
7979
secrets: inherit

.github/workflows/deploy-staging.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
environment: Staging
5353
docker-compose-file: "./docker/compose.db.yml"
54-
main-image-name: ghcr.io/ls1intum/apollon/server
54+
main-image-name: ls1intum/apollon/server
5555
image-tag: ${{ inputs.image-tag }}
5656
deployment-base-path: "/opt/apollon/db"
5757
secrets: inherit
@@ -62,7 +62,7 @@ jobs:
6262
with:
6363
environment: Staging
6464
docker-compose-file: "./docker/compose.proxy.yml"
65-
main-image-name: ghcr.io/ls1intum/apollon/server
65+
main-image-name: ls1intum/apollon/server
6666
image-tag: ${{ inputs.image-tag }}
6767
deployment-base-path: "/opt/apollon/proxy"
6868
secrets: inherit
@@ -73,7 +73,7 @@ jobs:
7373
with:
7474
environment: Staging
7575
docker-compose-file: "./docker/compose.app.yml"
76-
main-image-name: ghcr.io/ls1intum/apollon/server
76+
main-image-name: ls1intum/apollon/server
7777
image-tag: ${{ inputs.image-tag }}
7878
deployment-base-path: "/opt/apollon/app"
7979
secrets: inherit

0 commit comments

Comments
 (0)