Set services properly and configure docker

This commit is contained in:
Gerald Pinder
2024-03-24 13:46:10 -04:00
parent 925778f9f9
commit df33f8b061

View File

@@ -24,7 +24,7 @@ build-image:
name: ghcr.io/blue-build/cli:main name: ghcr.io/blue-build/cli:main
entrypoint: [""] entrypoint: [""]
services: services:
- docker - docker-dind
rules: rules:
- if: $ACTION == "build-image" - if: $ACTION == "build-image"
parallel: parallel:
@@ -32,9 +32,11 @@ build-image:
- RECIPE: - RECIPE:
- recipe-jp-desktop-gaming.yml - recipe-jp-desktop-gaming.yml
- recipe-jp-laptop.yml - recipe-jp-laptop.yml
id_tokens: variables:
SIGSTORE_ID_TOKEN: DOCKER_HOST: tcp://docker:2376
aud: sigstore DOCKER_TLS_CERTDIR: /certs
DOCKER_TLS_VERIFY: 1
DOCKER_CERT_PATH: $DOCKER_TLS_CERTDIR/client
before_script: before_script:
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash - 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) - export COSIGN_PRIVATE_KEY=$(cat .secure_files/cosign.key)