Skip to content

Commit 8ac33a8

Browse files
authored
Merge pull request #1671 from roboflow/add-jetson-6.2.0-workflow
Add GitHub Actions workflow for Jetson 6.2.0 builds
2 parents af5c440 + d531909 commit 8ac33a8

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Build and Push Jetson 6.2.0 Container
2+
permissions:
3+
contents: read
4+
on:
5+
release:
6+
types: [created]
7+
push:
8+
branches: [main]
9+
workflow_dispatch:
10+
inputs:
11+
force_push:
12+
type: boolean
13+
description: "Do you want to push image after build?"
14+
default: false
15+
16+
env:
17+
VERSION: "0.0.0" # Default version, will be overwritten
18+
19+
jobs:
20+
docker:
21+
runs-on:
22+
labels: ubuntu-latest
23+
timeout-minutes: 120
24+
permissions:
25+
id-token: write
26+
contents: read
27+
steps:
28+
- name: Login to Docker Hub
29+
uses: docker/login-action@v3
30+
with:
31+
username: ${{ secrets.DOCKERHUB_USERNAME }}
32+
password: ${{ secrets.DOCKERHUB_TOKEN }}
33+
- name: 🛎️ Checkout
34+
uses: actions/checkout@v4
35+
- name: Read version from file
36+
run: echo "VERSION=$(DISABLE_VERSION_CHECK=true python ./inference/core/version.py)" >> $GITHUB_ENV
37+
- name: Set up Depot CLI
38+
uses: depot/setup-action@v1
39+
- name: Build and Push
40+
uses: depot/build-push-action@v1
41+
with:
42+
push: ${{ github.event_name == 'release' || (github.event.inputs.force_push == 'true')}}
43+
project: grl7ffzxd7
44+
tags: roboflow/roboflow-inference-server-jetson-6.2.0:latest,roboflow/roboflow-inference-server-jetson-6.2.0:${{ env.VERSION}}
45+
platforms: linux/arm64
46+
file: ./docker/dockerfiles/Dockerfile.onnx.jetson.6.2.0

0 commit comments

Comments
 (0)