diff --git a/.github/workflows/django-cd.yml b/.github/workflows/django-cd.yml index 6c9709f..226a240 100644 --- a/.github/workflows/django-cd.yml +++ b/.github/workflows/django-cd.yml @@ -45,10 +45,10 @@ jobs: - name: Build and Push Docker Image run: | docker buildx create --use - docker buildx build --platform linux/amd64 . \ - --output type=docker \ - --tag ghcr.io/anitrend/anitrend:${{ steps.set-tag.outputs.tag }} \ + docker buildx build \ + --platform linux/amd64,linux/arm64 \ --cache-from type=registry,ref=ghcr.io/anitrend/anitrend:cache,mode=max \ - --cache-to type=registry,ref=ghcr.io/anitrend/anitrend:cache - docker push ghcr.io/anitrend/anitrend:${{ steps.set-tag.outputs.tag }} + --cache-to type=registry,ref=ghcr.io/anitrend/anitrend:cache \ + --tag ghcr.io/anitrend/anitrend:${{ steps.set-tag.outputs.tag }} \ + --push . working-directory: .