Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

🐬 Docker image to test the build of Caddy plugins.

License

Notifications You must be signed in to change notification settings

hacdias/caddy-v1-plugin-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

caddy-v1-plugin-test

Docker image to test building Caddy V1 plugins on CI.

Requirements

  1. Plugin must be a module.
  2. The working directory must be the plugin root.
  3. The plugin must not have a folder named caddy.

Usage

Here's an example for Circle CI, where it first lints using golangci-lint and then builds the plugin with Caddy:

version: 2
jobs:
  lint:
    docker:
      - image: golangci/golangci-lint:v1.16
    steps:
      - checkout
      - run: golangci-lint run -v
  build:
    docker:
      - image: hacdias/caddy-plugin-test:latest
    steps:
      - checkout
      - run: caddy-build
workflows:
  version: 2
  build-workflow:
    jobs:
      - lint
      - build

License

MIT © Henrique Dias

About

🐬 Docker image to test the build of Caddy plugins.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published