Skip to content

Commit ff934cb

Browse files
committed
workflow: Build for both arm and amd archs
1 parent 8a5c4aa commit ff934cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ jobs:
3030
run: |
3131
# Ensure the builder supports multi-architecture
3232
docker buildx create --use
33-
# Build and push image only for arm64
34-
docker buildx build --platform linux/arm64 -t devadathanmb/ktu-bot:latest --push .
33+
# Build for both platforms and push
34+
docker buildx build --platform linux/amd64,linux/arm64 -t devadathanmb/ktu-bot:latest --push .

0 commit comments

Comments
 (0)