Skip to content

Commit aa67a00

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

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test.yaml

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

0 commit comments

Comments
 (0)