Skip to content

Commit ab87796

Browse files
committed
Use path context to respect .dockerignore
1 parent 77aed79 commit ab87796

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,17 @@ jobs:
6666
username: ${{ github.repository_owner }}
6767
password: ${{ secrets.GITHUB_TOKEN }}
6868

69+
- name: Checkout repository
70+
uses: actions/checkout@v5
71+
6972
- name: Build and push Docker images
7073
uses: docker/build-push-action@v6
7174
env:
7275
DATABASE_URL: ${{ secrets.DATABASE_URL }}
7376
dockerhub_repository: ${{ vars.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}
7477
version: ${{ needs.tag-commit.outputs.version }}
7578
with:
79+
context: .
7680
secret-envs: database-url=DATABASE_URL
7781
push: true
7882
provenance: mode=max

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN mv /root/.cache/prisma-python/binaries/*/*/node_modules/prisma/query-engine-
2121
rm -rf \
2222
/root/.cache \
2323
/root/.npm \
24-
/tmp \
24+
/tmp/* \
2525
/app/requirements.txt \
2626
/app/schema.prisma
2727

arabot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from dotenv import load_dotenv
44

5-
__version__ = "8.23.6"
5+
__version__ = "8.23.7"
66

77
load_dotenv()
88
TESTING = bool(getenv("TESTING"))

0 commit comments

Comments
 (0)