Skip to content

Commit

Permalink
feat(buildx): add platforms support fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guilbep committed Sep 26, 2023
1 parent fd61bd6 commit 48de98a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,14 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
-
- name: Set up QEMU
# Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
use: linux/amd64,linux/arm64,linux/arm64/v8
platforms: linux/amd64,linux/arm64,linux/arm64/v8
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,9 @@ DATABASE_URL=postgres://postgres:xxxxx@localhost:5432/myDbNAME
ADMINISTRATOR_EMAIL="xxxx"
ADMINISTRATOR_EMAIL="no-reply@epfl.ch"
FEATHERS_SECRET="xxxxxxxxxxxxxxxx"
```

# add compose command line for production
```
docker compose -f compose.yml -f production.yml up -d
```

0 comments on commit 48de98a

Please sign in to comment.