Skip to content

Container which can be used in CICD pipelines for CraftCMS

Notifications You must be signed in to change notification settings

codemonauts/docker-craft-cms-ci-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

docker-craft-cms-ci-env

docker pulls badge

This image is intendet to use in a CI/CD pipeline to build CraftCMS websites (or other PHP applications). It contains:

  • PHP 8.1
  • composer
  • NodeJS 18
  • npm

Example usage with Gitlab CI

build:
  stage: build
  image: codemonauts/craft-cms-ci-env
  artifacts:
    paths:
      - package.zip
  script:
    - cd src/
    - npm ci
    - npm run build
    - cd ..
    - composer install --ignore-platform-reqs --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader
    - zip -qr package.zip .

About

Container which can be used in CICD pipelines for CraftCMS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published