Need help building with docker-compose

I am trying to run Auto DevOps with my new project. I can’t seem to get it to build and I have no idea how to troubleshoot it.

Here is my pipeline yml:

  name: docker:latest
  entrypoint: ["/bin/sh", "-c"]

    DOCKER_DRIVER: overlay2
    # Create the certificates inside this directory for both the server
    # and client. The certificates used by the client will be created in
    # /certs/client so we only need to share this directory with the
    # volume mount in `config.toml`.
    DOCKER_TLS_CERTDIR: "/certs"
  - docker:dind

  - template: Auto-DevOps.gitlab-ci.yml

  - apk add --no-cache docker-compose
  - docker info
  - docker-compose --version

  stage: build
    - docker-compose -f docker-compose.yml -f up -d --build

Here is the error I am getting:

Status: Downloaded newer image for heroku/pack:18
======== Output: heroku/ruby@0.0.1 ========
err:  heroku/ruby@0.0.1 (1)
Warning: Warning: buildpack heroku/jvm has a "version" key. This key is deprecated in build plan requirements in buildpack API 0.3. "metadata.version" should be used instead
ERROR: No buildpack groups passed detection.
ERROR: failed to detect: buildpack(s) failed with err
ERROR: failed to build: executing lifecycle: failed with status code: 101
Cleaning up file based variables
ERROR: Job failed: exit code 1

I have no idea why it is even trying to pull heroku/ruby at all. I am pretty new to Gitlab and Gitlab CI/CD as well as using docker-compose so any help would be very appreciated.


I figured out. A lot of my issue was just formatting of my pipeline.yml. I got it building correctly now. I am just trying to push it to the container repository.