Skip to content

Commit 874d279

Browse files
committed
Configure LFS for gradle distribution and add project files
1 parent 9258066 commit 874d279

13 files changed

Lines changed: 605 additions & 293 deletions

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
*.tar.gz filter=lfs diff=lfs merge=lfs -text
2+
gradle/wrapper/gradle-8.5-bin.zip filter=lfs diff=lfs merge=lfs -text

.github/workflows/docker-ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Docker CI
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Docker Buildx
18+
uses: docker/setup-buildx-action@v3
19+
20+
- name: Build Docker image
21+
uses: docker/build-push-action@v5
22+
with:
23+
context: .
24+
push: false
25+
tags: rfdetr-inference:latest
26+
load: true
27+
cache-from: type=gha
28+
cache-to: type=gha,mode=max
29+
30+
- name: Verify Container Build
31+
run: |
32+
docker run --rm rfdetr-inference:latest --help || true
33+
# We expect a help message or a usage error, which verifies the binary runs
34+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,4 @@ coverage/
116116
*.prof
117117
gmon.out
118118
perf.data*
119+
.gradle/

0 commit comments

Comments
 (0)