Skip to content

Commit 52d4629

Browse files
authored
fix: update Docker build to target amd64 architecture only (#19)
Targeting only the amd64 architecture simplifies the Docker build process by removing support for multi-platform builds across the backend, caddy, and frontend images. Additionally, an obsolete release workflow file has been removed.
1 parent 66e65fd commit 52d4629

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/version-and-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
context: ./backend
9696
file: ./backend/Dockerfile
9797
push: true
98-
platforms: linux/amd64,linux/arm64
98+
platforms: linux/amd64
9999
tags: ${{ steps.meta-backend.outputs.tags }}
100100
labels: ${{ steps.meta-backend.outputs.labels }}
101101
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/caddymanager-backend:buildcache
@@ -119,7 +119,7 @@ jobs:
119119
context: ./caddy
120120
file: ./caddy/Dockerfile
121121
push: true
122-
platforms: linux/amd64,linux/arm64
122+
platforms: linux/amd64
123123
tags: ${{ steps.meta-caddy.outputs.tags }}
124124
labels: ${{ steps.meta-caddy.outputs.labels }}
125125
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/caddymanager-caddy:buildcache
@@ -143,7 +143,7 @@ jobs:
143143
context: ./frontend
144144
file: ./frontend/Dockerfile
145145
push: true
146-
platforms: linux/amd64,linux/arm64
146+
platforms: linux/amd64
147147
tags: ${{ steps.meta-frontend.outputs.tags }}
148148
labels: ${{ steps.meta-frontend.outputs.labels }}
149149
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/caddymanager-frontend:buildcache

0 commit comments

Comments
 (0)