We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21a1a5e commit 2ebdb45Copy full SHA for 2ebdb45
2 files changed
.github/workflows/ci-cd.yml
@@ -3,11 +3,10 @@ name: CI
3
on:
4
push:
5
branches: ["main"]
6
- pull_request:
7
- branches: ["main"]
8
9
workflow_dispatch:
10
+
11
jobs:
12
build:
13
runs-on: ubuntu-latest
.github/workflows/pr-validation.yml
@@ -0,0 +1,24 @@
1
+name: PR Validation
2
+on:
+ pull_request:
+ branches: ["main", "dev"]
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
14
15
+ - name: Set up Docker Buildx
16
+ uses: docker/setup-buildx-action@v3
17
18
+ # Build the Docker image to verify compilation and packaging (push is set to false)
19
+ - name: Build Docker image
20
+ uses: docker/build-push-action@v3
21
+ with:
22
+ context: .
23
+ file: Dockerfile
24
+ push: false
0 commit comments