1- name : Build and Push Jetson 7.2.0 Media Container
2-
1+ name : Build and Push Jetson 7.2.0 Container
32permissions :
43 contents : read
5-
64on :
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
2920env :
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
3324jobs :
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) || '' }}
0 commit comments