Skip to content

Using the official Docker container for CI/CD #8224

Answered by RandomInsano
RandomInsano asked this question in Q&A
Discussion options

You must be logged in to vote

To close off the "how" and leave the "why not" question open, I needed to override the entrypoint in Gitlab.

This now works:

image: 
  name: squidfunk/mkdocs-material
  entrypoint: [""]

test:
  stage: test
  script:
  - mkdocs build --strict --verbose --site-dir test
  artifacts:
    paths:
    - test
  rules:
    - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
...

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@kamilkrzyskow
Comment options

Answer selected by kamilkrzyskow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants