Skip to content

Commit 59d312d

Browse files
committed
Correctly fix working directory for Docker image build
1 parent 8d20610 commit 59d312d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/build-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
password: ${{ secrets.GITHUB_TOKEN }}
3535

3636
- name: Build Docker image with Compose
37-
run: docker compose -f build/docker-compose.yml .
37+
run: docker compose -f build/docker-compose.yml build
3838

3939
- name: Tag Docker images
4040
run: |

build/docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
version: '3.8'
2-
31
services:
42
backend:
53
build:
6-
context: .
4+
context: ..
75
dockerfile: build/dockerfile
86
image: ghcr.io/pyhpc/pyhpc-tutorial:latest
97
pull_policy: always

0 commit comments

Comments
 (0)