[ci] fix worker build

This commit is contained in:
Laurent Bonnet
2024-12-18 19:11:32 +01:00
parent 0496fb1b9f
commit 4b021b43f7

View File

@@ -289,7 +289,7 @@ jobs:
LATEST_SEMANTIC_VERSION=$(git tag --sort=-v:refname | grep -E '^v?[0-9]+\.[0-9]+\.[0-9]+$' | head -n 1)
TAGS="-t opencti/worker:${CIRCLE_TAG}"
[ "$CIRCLE_TAG" = "LATEST_SEMANTIC_VERSION" ] && TAGS="$TAGS -t opencti/worker:latest"
docker buildx build --platform $BUILDX_PLATFORMS -f Dockerfile_circleci $TAGS --push .
docker buildx build --platform $BUILDX_PLATFORMS $TAGS --push .
- slack/notify:
event: fail
template: basic_fail_1