Skip to content

Commit 699f3a8

Browse files
committed
Build multi architecture
1 parent 3106e1f commit 699f3a8

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/job--build-containers.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,22 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v3
2020

21-
- name: Build Dropbox Backup image
22-
run: docker build --tag futureportal/dropbox-backup:${{ inputs.BASE_TAG }} .
21+
- name: Set up QEMU
22+
uses: docker/setup-qemu-action@v3
23+
24+
- name: Set up Docker Buildx
25+
uses: docker/setup-buildx-action@v3
2326

2427
- name: Log in to Docker Hub
25-
uses: docker/login-action@v1
28+
uses: docker/login-action@v3
2629
with:
2730
username: ${{ secrets.DOCKER_USERNAME }}
2831
password: ${{ secrets.DOCKER_TOKEN }}
2932

30-
- name: Push docker image to the hub
31-
run: docker push futureportal/dropbox-backup:${{ inputs.BASE_TAG }}
33+
- name: Build and push multi-arch image
34+
uses: docker/build-push-action@v5
35+
with:
36+
context: .
37+
platforms: linux/amd64,linux/arm64,linux/arm/v7
38+
push: true
39+
tags: futureportal/dropbox-backup:${{ inputs.BASE_TAG }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ A Deno-based CLI tool that uploads files from a local directory to Dropbox and o
1212
- 📊 Progress tracking with file sizes and upload times
1313
- 💪 **Large file support** - handles files of any size using chunked uploads (tested with multi-GB files)
1414
- 🧩 Memory efficient - streams files in 8MB chunks instead of loading into memory
15+
- 🏗️ **Multi-architecture support** - runs on AMD64, ARM64, and ARM/v7 (Raspberry Pi compatible)
1516

1617
## Prerequisites
1718

0 commit comments

Comments
 (0)