We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddefe11 commit 91cbf21Copy full SHA for 91cbf21
.github/workflows/build-and-push.yml
@@ -25,7 +25,10 @@ jobs:
25
username: ${{ secrets.DOCKERHUB_USERNAME }}
26
password: ${{ secrets.DOCKERHUB_TOKEN }}
27
28
- # Step 4: Build the Docker image for multiple platforms (amd64 and arm64)
+ # Step 4: Build Docker image for multiple platforms (amd64 and arm64)
29
- name: Build Docker image for amd64 and arm64
30
run: |
31
+ # Ensure the builder supports multi-architecture
32
+ docker buildx create --use
33
+ # Build and push image for both amd64 and arm64
34
docker buildx build --platform linux/amd64,linux/arm64 -t devadathanmb/ktu-bot:latest --push .
0 commit comments