Skip to content

Commit be1d971

Browse files
committed
Publish full JetPack 7.2 inference server
1 parent 62e7b1a commit be1d971

9 files changed

Lines changed: 752 additions & 64 deletions

File tree

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,32 @@
1-
name: Build and Push Jetson 7.2.0 Media Container
2-
1+
name: Build and Push Jetson 7.2.0 Container
32
permissions:
43
contents: read
5-
64
on:
75
release:
86
types: [created]
97
push:
108
branches: [main]
11-
paths:
12-
- ".github/workflows/docker.jetson.7.2.0.yml"
13-
- "docker/dockerfiles/Dockerfile.media.jetson.7.2.0"
14-
- "docker/native/jetson_tensor_bridge/**"
15-
- "docker/scripts/**"
16-
- "LICENSE"
17-
- "LICENSE.core"
189
workflow_dispatch:
1910
inputs:
2011
force_push:
2112
type: boolean
22-
description: "Do you want to push the image after building?"
13+
description: "Do you want to push image after build?"
2314
default: false
2415
custom_tag:
2516
type: string
26-
description: "Custom tag to use for the image"
17+
description: "Custom tag to use for the image (overrides VERSION)"
2718
default: ""
2819

2920
env:
3021
VERSION: "0.0.0"
31-
BASE_IMAGE: "roboflow/roboflow-inference-media-jetson-7.2.0"
22+
BASE_IMAGE: "roboflow/roboflow-inference-server-jetson-7.2.0"
3223

3324
jobs:
3425
docker:
3526
runs-on:
3627
labels: depot-ubuntu-24.04-4
3728
group: public-depot
38-
timeout-minutes: 180
29+
timeout-minutes: 360
3930
permissions:
4031
id-token: write
4132
contents: read
@@ -62,13 +53,13 @@ jobs:
6253
- name: Set up Depot CLI
6354
uses: depot/setup-action@v1
6455
- name: Build image
65-
uses: depot/build-push-action@v1
56+
uses: depot/bake-action@v1
57+
env:
58+
JETSON_SERVER_TAGS: ${{ steps.tags.outputs.image_tags }}
6659
with:
60+
files: ./docker/docker-bake.jetson.7.2.0.hcl
61+
targets: jetson-server-jp72
6762
project: v1xzfwkc4b
68-
context: .
69-
file: ./docker/dockerfiles/Dockerfile.media.jetson.7.2.0
70-
platforms: linux/arm64
7163
push: ${{ github.event_name == 'release' || inputs.force_push }}
7264
save: ${{ github.event_name != 'release' && !inputs.force_push }}
73-
save-tag: ${{ github.event_name != 'release' && !inputs.force_push && format('media-jp72-{0}', github.sha) || '' }}
74-
tags: ${{ steps.tags.outputs.image_tags }}
65+
save-tag: ${{ github.event_name != 'release' && !inputs.force_push && format('server-jp72-{0}', github.sha) || '' }}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
variable "JETSON_SERVER_TAGS" {
2+
default = "roboflow/roboflow-inference-server-jetson-7.2.0:local"
3+
}
4+
5+
target "jetson-media-jp72" {
6+
context = "."
7+
dockerfile = "docker/dockerfiles/Dockerfile.media.jetson.7.2.0"
8+
platforms = ["linux/arm64"]
9+
}
10+
11+
target "jetson-server-jp72" {
12+
context = "."
13+
dockerfile = "docker/dockerfiles/Dockerfile.onnx.jetson.7.2.0"
14+
contexts = {
15+
jetson-media = "target:jetson-media-jp72"
16+
}
17+
platforms = ["linux/arm64"]
18+
tags = split(",", JETSON_SERVER_TAGS)
19+
}

0 commit comments

Comments
 (0)