Skip to content

Commit 382adcc

Browse files
committed
chore: add docker test
1 parent 75b3111 commit 382adcc

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/test.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Dockerfile build test
2+
3+
on:
4+
push:
5+
pull_request:
6+
types: ["synchronize", "opened", "reopened", "ready_for_review"]
7+
8+
concurrency:
9+
group: ci-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
steps:
18+
- name: Check out repository
19+
uses: actions/checkout@v4
20+
21+
# Build using your Makefile target (runs: docker build -t hello-universe-db .)
22+
- name: Build Docker image
23+
run: make build
24+
25+
# Quick sanity check that the image exists
26+
- name: Verify image was built
27+
run: docker image inspect hello-universe-db:latest > /dev/null

0 commit comments

Comments
 (0)