Skip to content

Commit 6741e41

Browse files
committed
chore(ci): fix build and docker ignore
1 parent ccdc537 commit 6741e41

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.dockerignore

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
*
2-
!target/*-runner
3-
!target/*-runner.jar
4-
!target/lib/*
5-
!target/quarkus-app/*
1+
# Ignore build artifacts
2+
target/
3+
4+
# Ignore IDE and temporary files
5+
.idea/
6+
*.iml
7+
.vscode/

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
- name: Build Docker image for testing
2121
uses: docker/build-push-action@v6
2222
with:
23-
context: ./log-parser
24-
file: ./log-parser/src/main/docker/Dockerfile.native
23+
context: .
24+
file: ./src/main/docker/Dockerfile.native
2525
push: false
2626
build-args: |
2727
GITHUB_USER=${{ github.actor }}
@@ -50,8 +50,8 @@ jobs:
5050
id: build-and-push
5151
uses: docker/build-push-action@v6
5252
with:
53-
context: ./log-parser
54-
file: ./log-parser/src/main/docker/Dockerfile.native
53+
context: .
54+
file: ./src/main/docker/Dockerfile.native
5555
push: true
5656
tags: |
5757
ghcr.io/${{ github.repository_owner }}/podmortem-log-parser:latest

0 commit comments

Comments
 (0)