Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 11bc1cd

Browse files
committed
⚡️ First shot
1 parent 11083bd commit 11bc1cd

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.circleci/config.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,14 @@ jobs:
6161
CIRCLE_TAG=${CIRCLE_TAG:-nightly}
6262
echo "CIRCLE_TAG=${CIRCLE_TAG}"
6363
BASE_REPO="renizmy"
64-
docker build -t $BASE_REPO/client-python:${CIRCLE_TAG} .
65-
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
66-
docker tag $BASE_REPO/client-python:${CIRCLE_TAG} $BASE_REPO/client-python:latest
67-
docker push $BASE_REPO/client-python:${CIRCLE_TAG}
68-
docker push $BASE_REPO/client-python:latest
64+
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
65+
docker buildx create --use --name mybuilder || true
66+
docker buildx inspect mybuilder --bootstrap
67+
docker buildx build \
68+
--platform linux/amd64,linux/arm64 \
69+
-t $BASE_REPO/client-python:${CIRCLE_TAG} \
70+
-t $BASE_REPO/client-python:latest \
71+
--push
6972
build-library:
7073
working_directory: ~/opencti-client
7174
docker:

0 commit comments

Comments
 (0)