Skip to content

Commit

Permalink
fix(.github): add specific platforms (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarelessInternet authored Nov 5, 2024
1 parent 882f709 commit 3f8f771
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ jobs:
env:
DOCKERFILE_ROUTE: ./apps/bot/Dockerfile
run: |
docker build --file ${{ env.DOCKERFILE_ROUTE }} . --no-cache --tag ${{ env.FULL_IMAGE_URL_BOT }}
docker build --file ${{ env.DOCKERFILE_ROUTE }} . --no-cache --platform linux/amd64,linux/arm64 --tag ${{ env.FULL_IMAGE_URL_BOT }}
docker push ${{ env.FULL_IMAGE_URL_BOT }}
6 changes: 4 additions & 2 deletions apps/website/src/app/[locale]/docs/self-hosting/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ services:
bot:
container_name: ticketer-bot
# You can change "latest" to any available version such as "3.2.0".
image: ghcr.io/carelessinternet/ticketer-bot:latest
# You can change to any available version such as "3.2.1".
image: ghcr.io/carelessinternet/ticketer-bot:3.2.1
# Change the platform to the one on your linux environment (amd64, arm64).
platform: linux/arm64
restart: unless-stopped
depends_on:
database:
Expand Down

0 comments on commit 3f8f771

Please sign in to comment.