6 Commits

Author SHA1 Message Date
Oleksandr Bezdieniezhnykh 02c544746a Merge branch 'stage' into main
ci/woodpecker/push/build-arm Pipeline failed
2026-04-22 01:40:15 +03:00
Oleksandr Bezdieniezhnykh 64d3f828c8 Merge branch 'dev' into stage
ci/woodpecker/push/build-arm Pipeline failed
2026-04-22 01:37:15 +03:00
Oleksandr Bezdieniezhnykh 3b61dc4564 Update Woodpecker CI configuration to use new registry credentials
ci/woodpecker/manual/build-arm Pipeline was successful
Replaced HARBOR_USER and HARBOR_TOKEN with REGISTRY_USER and REGISTRY_TOKEN for Docker login. Updated image push path to include 'azaion' in the registry URL.
2026-04-21 20:37:54 +03:00
Oleksandr Bezdieniezhnykh 2f6fb41411 [AZ-205] Authenticate to Harbor before pushing build images
Add HARBOR_USER/HARBOR_TOKEN from Woodpecker secrets and a docker login
step before the existing build/push, so pipelines can push to the new
TLS-authenticated Harbor registry.
2026-04-20 04:10:42 +03:00
Oleksandr Bezdieniezhnykh 854cb505af [AZ-204] OCI revision labels + AZAION_REVISION env
Made-with: Cursor
2026-04-20 03:58:47 +03:00
Oleksandr Bezdieniezhnykh 849e32c6ae [AZ-203] Parameterize registry host via REGISTRY_HOST secret
Pipeline reads $REGISTRY_HOST from the Woodpecker global secret
'registry_host' instead of hardcoding 'localhost:5000'. The full
host:port lives in the secret, so Harbor migration (AZ-205) becomes
one secret edit rather than editing every submodule pipeline.

Made-with: Cursor
2026-04-20 03:49:21 +03:00
2 changed files with 20 additions and 3 deletions
+18 -3
View File
@@ -8,9 +8,24 @@ labels:
steps: steps:
- name: build-push - name: build-push
image: docker image: docker
environment:
REGISTRY_HOST:
from_secret: registry_host
REGISTRY_USER:
from_secret: registry_user
REGISTRY_TOKEN:
from_secret: registry_token
commands: commands:
- if [ "$CI_COMMIT_BRANCH" = "main" ]; then export TAG=arm; else export TAG=${CI_COMMIT_BRANCH}-arm; fi - echo "$REGISTRY_TOKEN" | docker login "$REGISTRY_HOST" -u "$REGISTRY_USER" --password-stdin
- docker build -f Dockerfile.jetson -t localhost:5000/detections:$TAG . - export TAG=${CI_COMMIT_BRANCH}-arm
- docker push localhost:5000/detections:$TAG - export BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ)
- |
docker build -f Dockerfile.jetson \
--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: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
+2
View File
@@ -1,4 +1,6 @@
FROM nvcr.io/nvidia/l4t-jetpack:r36.2.0 FROM nvcr.io/nvidia/l4t-jetpack:r36.2.0
ARG CI_COMMIT_SHA=unknown
ENV AZAION_REVISION=$CI_COMMIT_SHA
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
python3 python3-pip python3-dev gcc \ python3 python3-pip python3-dev gcc \