diff --git a/.github/workflows/cleanup-pr.yml b/.github/workflows/cleanup-pr.yml index 077683d9..c8dcf8da 100644 --- a/.github/workflows/cleanup-pr.yml +++ b/.github/workflows/cleanup-pr.yml @@ -31,7 +31,10 @@ jobs: features=(full postgres sqlite) tags=(none arm64) - docker run --rm lumir/remove-dockerhub-tag --user ${{ secrets.DOCKERHUB_USERNAME }} --password ${{ secrets.DOCKERHUB_TOKEN }} danonline/autopulse:pr-${pr_number} danonline/autopulse:ui-pr-${pr_number} || true + docker run --rm lumir/remove-dockerhub-tag --user ${{ secrets.DOCKERHUB_USERNAME }} --password ${{ secrets.DOCKERHUB_TOKEN }} \ + danonline/autopulse:pr-${pr_number} \ + danonline/autopulse:pr-${pr_number}-arm64 \ + danonline/autopulse:ui-pr-${pr_number} || true for feature in "${features[@]}"; do for tag in "${tags[@]}"; do diff --git a/.github/workflows/continuous-delivery-docker.yml b/.github/workflows/continuous-delivery-docker.yml index 40d12eab..a309044b 100644 --- a/.github/workflows/continuous-delivery-docker.yml +++ b/.github/workflows/continuous-delivery-docker.yml @@ -66,6 +66,7 @@ jobs: context: ui/ cache-from: type=gha cache-to: type=gha,mode=max + platforms: linux/amd64,linux/arm64 build: name: Build - ${{ matrix.platform.name }} - ${{ matrix.feature }} diff --git a/README.md b/README.md index 4c248a3f..e931f935 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,18 @@ The easiest way to get started with autopulse is to use the provided [docker ima - `latest-sqlite` - smaller image that only supports SQLite - `ui` - self-hostable UI for autopulse +##### arm64 + +Append `-arm64` to the tag to get the arm64 image + +- `latest-arm64` - full image with support for postgres/sqlite +- `latest-arm64-postgres` - smaller image that only supports Postgres +- `latest-arm64-sqlite` - smaller image that only supports SQLite + +One exception is the `ui` tag which is a joint image for both architectures + +- `ui` + #### Compose > Here is a sample [docker-compose.yml](https://github.com/dan-online/autopulse/blob/main/example/docker-compose.yml)