stages: - build - test - validate - runway_staging - runway_production variables: CONTAINER_IMAGE_COMMIT: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA include: - project: 'gitlab-com/gl-infra/platform/runway/runwayctl' file: 'ci-tasks/service-project/runway.yml' inputs: runway_service_id: sparkle image: "$CONTAINER_IMAGE_COMMIT" runway_version: v3.61.5 build image: image: docker:28 interruptible: true stage: build services: - docker:28-dind before_script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY script: - docker build --tag $CONTAINER_IMAGE_COMMIT . - docker push $CONTAINER_IMAGE_COMMIT unit: image: golang:alpine stage: test script: - go test ./...