Skip to content

Commit 0db4642

Browse files
committed
fix: Fixed the paths to the dockerfile in the github actions
1 parent 198e280 commit 0db4642

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/docker.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ env:
99
REGISTRY: ghcr.io
1010
IMAGE_PREFIX: ghcr.io/${{ github.repository_owner }}/kekkai
1111

12+
permissions:
13+
contents: read
14+
packages: write
15+
1216
jobs:
1317
changes:
1418
name: Detect changed files
@@ -39,9 +43,6 @@ jobs:
3943
needs: changes
4044
if: ${{ needs.changes.outputs.server == 'true' }}
4145
runs-on: ubuntu-latest
42-
permissions:
43-
contents: read
44-
packages: write
4546

4647
steps:
4748
- uses: actions/checkout@v4
@@ -62,7 +63,7 @@ jobs:
6263
- uses: docker/build-push-action@v5
6364
with:
6465
file: ./server/Dockerfile
65-
context: ./server
66+
context: .
6667
push: true
6768
tags: ${{ steps.meta.outputs.tags }}
6869
labels: ${{ steps.meta.outputs.labels }}
@@ -128,7 +129,7 @@ jobs:
128129
- uses: docker/build-push-action@v5
129130
with:
130131
file: ./web/Dockerfile
131-
context: ./web
132+
context: .
132133
push: true
133134
tags: ${{ steps.meta.outputs.tags }}
134135
labels: ${{ steps.meta.outputs.labels }}
@@ -161,7 +162,7 @@ jobs:
161162
- uses: docker/build-push-action@v5
162163
with:
163164
file: ./parser/Dockerfile
164-
context: ./parser
165+
context: .
165166
push: true
166167
tags: ${{ steps.meta.outputs.tags }}
167168
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)