Skip to content

Commit

Permalink
Merge pull request #9 from N3aar/fix/docker-arch-compose
Browse files Browse the repository at this point in the history
fix: docker build arch and compose restart
  • Loading branch information
Psykka authored Jun 1, 2024
2 parents 4b05cb6 + f3700df commit e9eb0f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
2 changes: 2 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
services:
bot:
image: ghcr.io/n3aar/eery-project:main
restart: always
container_name: eery-bot
environment:
- TOKEN=${TOKEN}
Expand All @@ -10,6 +11,7 @@ services:

watchtower:
image: containrrr/watchtower
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 300 --cleanup --label-enable --run-once eery-bot
Expand Down

0 comments on commit e9eb0f7

Please sign in to comment.