mirror of
https://github.com/azaion/detections.git
synced 2026-06-21 08:21:08 +00:00
Changed to have an attempt of build TRT10.3
ci/woodpecker/manual/build-push-jetson-trt104 Pipeline failed
ci/woodpecker/manual/build-push-jetson-trt104 Pipeline failed
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
when:
|
||||
- event: [manual]
|
||||
evaluate: 'BUILD_JETSON_TRT104 == "1"'
|
||||
|
||||
labels:
|
||||
platform: arm64
|
||||
|
||||
steps:
|
||||
- name: build-push-jetson-trt104
|
||||
image: docker
|
||||
environment:
|
||||
REGISTRY_HOST:
|
||||
from_secret: registry_host
|
||||
REGISTRY_USER:
|
||||
from_secret: registry_user
|
||||
REGISTRY_TOKEN:
|
||||
from_secret: registry_token
|
||||
commands:
|
||||
- echo "$REGISTRY_TOKEN" | docker login "$REGISTRY_HOST" -u "$REGISTRY_USER" --password-stdin
|
||||
- export TAG=${CI_COMMIT_BRANCH}-arm-trt104
|
||||
- export BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ)
|
||||
- |
|
||||
docker build -f Dockerfile.jetson.trt104 \
|
||||
--build-arg CI_COMMIT_SHA=$CI_COMMIT_SHA \
|
||||
--label org.opencontainers.image.revision=$CI_COMMIT_SHA \
|
||||
--label org.opencontainers.image.created=$BUILD_DATE \
|
||||
--label org.opencontainers.image.source=$CI_REPO_URL \
|
||||
-t $REGISTRY_HOST/azaion/detections:$TAG .
|
||||
- docker push $REGISTRY_HOST/azaion/detections:$TAG
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
Reference in New Issue
Block a user