diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b43bcc1..eb20c94 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,8 +27,6 @@ jobs: - name: Checkout code uses: actions/checkout@v6 - with: - path: friendo-bot - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -43,8 +41,8 @@ jobs: - name: Build and Push to ghcr uses: docker/build-push-action@v6 with: - context: friendo-bot/ - file: friendo-bot/Dockerfile + context: . + file: Dockerfile push: true cache-from: type=registry,ref=ghcr.io/fisher60/friendo-bot:latest cache-to: type=inline diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 9d903bc..4cecca9 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -2,5 +2,5 @@ services: bot: image: ghcr.io/fisher60/friendo-bot:latest tty: true - env_file: bot.env + env_file: .env restart: unless-stopped