workflow: rules: - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push" when: never - if: "$CI_COMMIT_TAG" - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: "$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS" when: never - if: "$CI_COMMIT_BRANCH" stages: - build build-image: stage: build interruptible: true image: ghcr.io/blue-build/cli:$TAG services: - docker:dind parallel: matrix: - RECIPE: - cp-laptop.yml # - jp-desktop-nvidia.yml - wke-server.yml - wke-worker.yml - jp-laptop.yml TAG: main - RECIPE: jp-desktop-nvidia.yml TAG: 519-device-or-resource-busy-when-trying-to-rechunk-the-image-in-gitlab-ci BB_BUILD_RECHUNK: 'true' variables: DOCKER_HOST: tcp://docker:2376 DOCKER_TLS_CERTDIR: /certs DOCKER_TLS_VERIFY: 1 DOCKER_CERT_PATH: $DOCKER_TLS_CERTDIR/client RUST_LOG_STYLE: always BB_SIGNING_DRIVER: sigstore BB_CACHE_LAYERS: 'true' BB_BUILD_PUSH: 'true' CLICOLOR_FORCE: 1 before_script: - curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash - export COSIGN_PRIVATE_KEY=$(cat .secure_files/cosign.key) script: - sleep 5 - bluebuild build "./recipes/${RECIPE}"